summaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-30 18:12:37 +0000
committertron <tron@openttd.org>2005-01-30 18:12:37 +0000
commit7526afdae028e4b3fb412ff86d0d172ea7193396 (patch)
treedacbdc31fb00804d67774d402514d356911380ad /map.c
parent5f05703206365850ad90e1483b18e6c6ad0068d4 (diff)
downloadopenttd-7526afdae028e4b3fb412ff86d0d172ea7193396.tar.xz
(svn r1737) Add DEBUG category "map" and use it to print the map size when allocating the map
Diffstat (limited to 'map.c')
-rw-r--r--map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/map.c b/map.c
index b04d8d4a9..a7b24e57b 100644
--- a/map.c
+++ b/map.c
@@ -21,6 +21,8 @@ void InitMap(uint log_x, uint log_y)
assert(log_x <= 15 && log_y <= 15);
+ DEBUG(map, 1)("Allocating map of size %dx%d", log_x, log_y);
+
_map_log_x = log_x;
_map_log_y = log_y;