Debug: Include x_offs/y_offs in vehicle debug window

This commit is contained in:
Jonathan G Rennison 2022-05-23 19:16:19 +01:00
parent 0ac96a0da3
commit cf3ea7b6af

View File

@ -309,8 +309,8 @@ class NIHVehicle : public NIHelper {
output.print(buffer);
}
seprintf(buffer, lastof(buffer), " Cached sprite bounds: (%d, %d) to (%d, %d)",
v->sprite_seq_bounds.left, v->sprite_seq_bounds.top, v->sprite_seq_bounds.right, v->sprite_seq_bounds.bottom);
seprintf(buffer, lastof(buffer), " Cached sprite bounds: (%d, %d) to (%d, %d), offs: (%d, %d)",
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);
if (HasBit(v->vehicle_flags, VF_SEPARATION_ACTIVE)) {