Avoid unnecessary viewport redraws for unused tile loop house triggers

This commit is contained in:
Jonathan G Rennison
2022-11-24 02:38:10 +00:00
parent bcb917d8c2
commit 3d7e5d5369
9 changed files with 48 additions and 6 deletions

View File

@@ -592,7 +592,7 @@ class NIHHouse : public NIHelper {
const HouseSpec *hs = HouseSpec::Get(GetHouseType(index));
seprintf(buffer, lastof(buffer), " building_flags: 0x%X", hs->building_flags);
output.print(buffer);
seprintf(buffer, lastof(buffer), " extra_flags: 0x%X", hs->extra_flags);
seprintf(buffer, lastof(buffer), " extra_flags: 0x%X, ctrl_flags: 0x%X", hs->extra_flags, hs->ctrl_flags);
output.print(buffer);
seprintf(buffer, lastof(buffer), " remove_rating_decrease: %u, minimum_life: %u", hs->remove_rating_decrease, hs->minimum_life);
output.print(buffer);