We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b02ec0 commit b5b60baCopy full SHA for b5b60ba
src/game/client/maputil.cpp
@@ -34,8 +34,8 @@
34
#include <algorithm>
35
36
#ifndef GAME_DLL
37
-WaypointMap *g_waypoints;
38
-MapCache *g_theMapCache;
+WaypointMap *g_waypoints = nullptr;
+MapCache *g_theMapCache = nullptr;
39
#endif
40
41
static std::vector<ICoord2D> s_boundaries;
@@ -45,7 +45,6 @@ static std::list<Coord3D> s_techPositions;
45
static unsigned int s_width = 0;
46
static unsigned int s_height = 0;
47
static int s_borderSize = 0;
48
-static WaypointMap *s_waypoints = nullptr;
49
static int s_mapDX = 0;
50
static int s_mapDY = 0;
51
0 commit comments