mirror of https://github.com/OpenTTD/OpenTTD
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