mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-25 05:04:07 +01:00
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