Codechange: pass the randomizer to use directly to the company face generation

This commit is contained in:
Rubidium
2023-01-13 22:30:18 +01:00
committed by rubidium42
parent 5e6dac6fd4
commit b3b8c3fd2d
4 changed files with 6 additions and 8 deletions

View File

@@ -1694,7 +1694,7 @@ public:
/* Randomize face button */
case WID_SCMF_RANDOM_NEW_FACE:
RandomCompanyManagerFaceBits(this->face, this->ge, this->advanced);
RandomCompanyManagerFaceBits(this->face, this->ge, this->advanced, _interactive_random);
this->UpdateData();
this->SetDirty();
break;