summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-08 19:46:41 +0000
committertron <tron@openttd.org>2005-07-08 19:46:41 +0000
commit3f91650d6e35fd5cf192168a61e54a50fc8dd19d (patch)
treec0ee4d83109a85cbeed32c08c486ea714a4f7e19
parentfbe617baba3969142140252810c209f0f1fb91c0 (diff)
downloadopenttd-3f91650d6e35fd5cf192168a61e54a50fc8dd19d.tar.xz
(svn r2533) Move misplaced parenthesis, found by ludde
-rw-r--r--map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/map.c b/map.c
index 68ab6e3da..66ac9dacb 100644
--- a/map.c
+++ b/map.c
@@ -39,7 +39,7 @@ void InitMap(uint log_x, uint log_y)
_map3_hi = realloc(_map3_hi, map_size * sizeof(_map3_hi[0]));
_map5 = realloc(_map5, map_size * sizeof(_map5[0]));
_map_extra_bits =
- realloc(_map_extra_bits, map_size * sizeof(_map_extra_bits[0] / 4));
+ realloc(_map_extra_bits, map_size * sizeof(_map_extra_bits[0]) / 4);
// XXX TODO handle memory shortage more gracefully
if (_map_type_and_height == NULL ||