mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-19 18:35:48 +01:00
This commit is contained in:
parent
da7621cc55
commit
87eb0e4fce
@ -1151,7 +1151,7 @@ public:
|
|||||||
|
|
||||||
void ExecuteFoundTownCommand(TileIndex tile, bool random, StringID errstr, CommandCallback cc)
|
void ExecuteFoundTownCommand(TileIndex tile, bool random, StringID errstr, CommandCallback cc)
|
||||||
{
|
{
|
||||||
const char *name = nullptr;
|
std::string name;
|
||||||
|
|
||||||
if (!this->townnamevalid) {
|
if (!this->townnamevalid) {
|
||||||
name = this->townname_editbox.text.buf;
|
name = this->townname_editbox.text.buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user