aboutsummaryrefslogtreecommitdiff
path: root/src/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/minimap.cpp')
-rw-r--r--src/minimap.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/minimap.cpp b/src/minimap.cpp
index 950202c6a..d1fb3867d 100644
--- a/src/minimap.cpp
+++ b/src/minimap.cpp
@@ -224,12 +224,13 @@ Mapper::Mapper(IrrlichtDevice *device, Client *client)
// Initialize minimap data
data = new MinimapData;
- data->mode = MINIMAP_MODE_OFF;
- data->is_radar = false;
- data->map_invalidated = true;
- data->heightmap_image = NULL;
- data->minimap_image = NULL;
- data->texture = NULL;
+ data->mode = MINIMAP_MODE_OFF;
+ data->is_radar = false;
+ data->map_invalidated = true;
+ data->heightmap_image = NULL;
+ data->minimap_image = NULL;
+ data->texture = NULL;
+ data->heightmap_texture = NULL;
data->minimap_shape_round = g_settings->getBool("minimap_shape_round");
// Get round minimap textures