summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/map.h b/src/map.h
index 07354623d..a9c2ee5dd 100644
--- a/src/map.h
+++ b/src/map.h
@@ -470,18 +470,27 @@ class Map final : public Properties, public ConfigListener
int mDebugFlags;
// Pathfinding members
- unsigned mOnClosedList, mOnOpenList;
+ unsigned int mOnClosedList;
+ unsigned int mOnOpenList;
// Overlay data
AmbientLayerVector mBackgrounds;
AmbientLayerVector mForegrounds;
float mLastAScrollX;
float mLastAScrollY;
-// bool mSpritesUpdated;
// Particle effect data
struct ParticleEffectData
{
+ ParticleEffectData() :
+ file(),
+ x(0),
+ y(0),
+ w(0),
+ h(0)
+ {
+ }
+
std::string file;
int x;
int y;