(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces.
This commit is contained in:
10
src/map.cpp
10
src/map.cpp
@@ -48,12 +48,12 @@ void AllocateMap(uint size_x, uint size_y)
|
||||
free(_me);
|
||||
|
||||
_m = CallocT<Tile>(_map_size);
|
||||
_me = CallocT<TileExtended>(_map_size);
|
||||
_me = CallocT<TileExtended>(_map_size);
|
||||
|
||||
/* XXX @todo handle memory shortage more gracefully
|
||||
* Maybe some attemps could be made to try with smaller maps down to 64x64
|
||||
* Maybe check for available memory before doing the calls, after all, we know how big
|
||||
* the map is */
|
||||
/* XXX @todo handle memory shortage more gracefully
|
||||
* Maybe some attemps could be made to try with smaller maps down to 64x64
|
||||
* Maybe check for available memory before doing the calls, after all, we know how big
|
||||
* the map is */
|
||||
if ((_m == NULL) || (_me == NULL)) error("Failed to allocate memory for the map");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user