Debug: Adjust vehicle debug text order/indentation
This commit is contained in:
@@ -507,6 +507,10 @@ class NIHVehicle : public NIHelper {
|
||||
v->sprite_seq_bounds.left, v->sprite_seq_bounds.top, v->sprite_seq_bounds.right, v->sprite_seq_bounds.bottom, v->x_offs, v->y_offs);
|
||||
output.print(buffer);
|
||||
|
||||
seprintf(buffer, lastof(buffer), " Current image cacheable: %s (%X), spritenum: %X",
|
||||
v->cur_image_valid_dir != INVALID_DIR ? "yes" : "no", v->cur_image_valid_dir, v->spritenum);
|
||||
output.print(buffer);
|
||||
|
||||
if (HasBit(v->vehicle_flags, VF_SEPARATION_ACTIVE)) {
|
||||
std::vector<TimetableProgress> progress_array = PopulateSeparationState(v);
|
||||
if (!progress_array.empty()) {
|
||||
@@ -685,10 +689,6 @@ class NIHVehicle : public NIHelper {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
seprintf(buffer, lastof(buffer), " Current image cacheable: %s (%X), spritenum: %X",
|
||||
v->cur_image_valid_dir != INVALID_DIR ? "yes" : "no", v->cur_image_valid_dir, v->spritenum);
|
||||
output.print(buffer);
|
||||
}
|
||||
|
||||
/* virtual */ void SpriteDump(uint index, SpriteGroupDumper &dumper) const override
|
||||
|
Reference in New Issue
Block a user