diff --git a/src/scope_info.cpp b/src/scope_info.cpp index 5bbc7aa85e..4b6c877440 100644 --- a/src/scope_info.cpp +++ b/src/scope_info.cpp @@ -120,5 +120,6 @@ const char *scope_dumper::StationInfo(const BaseStation *st) const char *scope_dumper::TileInfo(TileIndex tile) { - return DumpTileInfo(this->buffer, lastof(this->buffer), tile); + DumpTileInfo(this->buffer, lastof(this->buffer), tile); + return this->buffer; }