Codechange: pass the randomizer directly to the town name generation
This commit is contained in:
@@ -1146,7 +1146,7 @@ public:
|
||||
|
||||
void RandomTownName()
|
||||
{
|
||||
this->townnamevalid = GenerateTownName(&this->townnameparts);
|
||||
this->townnamevalid = GenerateTownName(_interactive_random, &this->townnameparts);
|
||||
|
||||
if (!this->townnamevalid) {
|
||||
this->townname_editbox.text.DeleteAll();
|
||||
|
Reference in New Issue
Block a user