1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-02 19:39:12 +00:00

Codechange: Added debug printing for Water Regions

This commit is contained in:
Koen Bussemaker
2024-02-04 15:07:44 +01:00
committed by Michael Lutz
parent 4b94457bf1
commit 35c89d57f8
3 changed files with 37 additions and 0 deletions

View File

@@ -29,6 +29,7 @@
#include "rev.h"
#include "timer/timer.h"
#include "timer/timer_window.h"
#include "pathfinder/water_regions.h"
#include "widgets/misc_widget.h"
@@ -128,6 +129,8 @@ public:
Debug(misc, LANDINFOD_LEVEL, "m6 = 0x{:x}", tile.m6());
Debug(misc, LANDINFOD_LEVEL, "m7 = 0x{:x}", tile.m7());
Debug(misc, LANDINFOD_LEVEL, "m8 = 0x{:x}", tile.m8());
PrintWaterRegionDebugInfo(tile);
#undef LANDINFOD_LEVEL
}