Fix wrong return value in scope_dumper::TileInfo

This commit is contained in:
Jonathan G Rennison
2018-12-20 12:53:59 +00:00
parent ccf13467db
commit 8128d027c0

View File

@@ -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;
}