summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-04-18 22:41:53 +0000
committerrubidium <rubidium@openttd.org>2007-04-18 22:41:53 +0000
commit2ce514284cc358dc1216274ac20d37472bcc0550 (patch)
tree4c61df1a2939966a82e001dc46309bc70348feb2 /src/map.cpp
parent7577954ced47f09803bc1b3881d47f222dbd306b (diff)
downloadopenttd-2ce514284cc358dc1216274ac20d37472bcc0550.tar.xz
(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map.cpp b/src/map.cpp
index eadaffb5f..092603b4d 100644
--- a/src/map.cpp
+++ b/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");
}