diff options
Diffstat (limited to 'src/heightmap.cpp')
-rw-r--r-- | src/heightmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heightmap.cpp b/src/heightmap.cpp index 57f4c30b1..85e5d34a3 100644 --- a/src/heightmap.cpp +++ b/src/heightmap.cpp @@ -249,7 +249,7 @@ static bool ReadHeightmapBMP(char *filename, uint *x, uint *y, byte **map) return false; } - MallocT(map, info.width * info.height); + MallocT(/* NO & */map, info.width * info.height); if (*map == NULL) { ShowErrorMessage(STR_PNGMAP_ERR_MISC, STR_BMPMAP_ERROR, 0, 0); fclose(f); |