From d78db1c0045e507d18fc96ba634881c35af09308 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Fri, 21 Dec 2018 03:28:17 +0000 Subject: [PATCH] Dump tile data in Vehicle::DumpVehicleFlags --- src/vehicle.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vehicle.cpp b/src/vehicle.cpp index becfd95f84..02697ad537 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -3631,7 +3631,9 @@ char *Vehicle::DumpVehicleFlags(char *b, const char *last) const const RoadVehicle *r = RoadVehicle::From(this); b += seprintf(b, last, ", rvs:%X, rvf:%X", r->state, r->frame); } - b += seprintf(b, last, ", t:%X", this->tile); + b += seprintf(b, last, ", ["); + b = DumpTileInfo(b, last, this->tile); + b += seprintf(b, last, "]"); if (this->cargo_payment) b += seprintf(b, last, ", CP"); return b; }