diff options
author | tron <tron@openttd.org> | 2005-01-30 18:12:37 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-30 18:12:37 +0000 |
commit | 7526afdae028e4b3fb412ff86d0d172ea7193396 (patch) | |
tree | dacbdc31fb00804d67774d402514d356911380ad /map.c | |
parent | 5f05703206365850ad90e1483b18e6c6ad0068d4 (diff) | |
download | openttd-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |