From 87eb6335ea4e5ebf671f1b5e10f4071e988515f0 Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Fri, 4 Sep 2015 15:10:09 +0200 Subject: [PATCH] Remove unused variable --- src/world/map.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/world/map.c b/src/world/map.c index ef156ffe67..56e8d19352 100644 --- a/src/world/map.c +++ b/src/world/map.c @@ -3957,8 +3957,6 @@ bool map_surface_is_blocked(sint16 x, sint16 y){ /* Clears all map elements, to be used before generating a new map */ void map_clear_all_elements() { - int mapMaxXY = RCT2_GLOBAL(RCT2_ADDRESS_MAP_MAX_XY, uint16); - for (int y = 0; y < (256 * 32); y += 32) { for (int x = 0; x < (256 * 32); x += 32) { sub_68AE2A(x, y);