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:
committed by
Michael Lutz
parent
4b94457bf1
commit
35c89d57f8
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user