summaryrefslogtreecommitdiff
path: root/src/tgp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tgp.cpp')
-rw-r--r--src/tgp.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tgp.cpp b/src/tgp.cpp
index 4916e97a4..c12fb5dd8 100644
--- a/src/tgp.cpp
+++ b/src/tgp.cpp
@@ -253,7 +253,6 @@ static inline bool AllocHeightMap()
_height_map.total_size = (_height_map.size_x + 1) * (_height_map.size_y + 1);
_height_map.dim_x = _height_map.size_x + 1;
_height_map.h = CallocT<height_t>(_height_map.total_size);
- if (_height_map.h == NULL) return false;
/* Iterate through height map initialize values */
FOR_ALL_TILES_IN_HEIGHT(h) *h = _invalid_height;