mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
Dump tile data in Vehicle::DumpVehicleFlags
This commit is contained in:
parent
65b9a103ad
commit
d78db1c004
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user