mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r2533) Move misplaced parenthesis, found by ludde
This commit is contained in:
parent
fbe617baba
commit
3f91650d6e
2
map.c
2
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]));
|
_map3_hi = realloc(_map3_hi, map_size * sizeof(_map3_hi[0]));
|
||||||
_map5 = realloc(_map5, map_size * sizeof(_map5[0]));
|
_map5 = realloc(_map5, map_size * sizeof(_map5[0]));
|
||||||
_map_extra_bits =
|
_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
|
// XXX TODO handle memory shortage more gracefully
|
||||||
if (_map_type_and_height == NULL ||
|
if (_map_type_and_height == NULL ||
|
||||||
|
Loading…
Reference in New Issue
Block a user