summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-20 16:40:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-20 16:40:24 +0300
commit1e9b7c519953c73c6e5ca4ce2169eb674267c115 (patch)
tree5e331bef424935c0f6d2a2291eb189cd50f68a3d /src/map.h
parentc63923c39572655f3d8e826b0fb2fd3ed253ae7f (diff)
downloadplus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.gz
plus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.bz2
plus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.xz
plus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.zip
fix style in other files.
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;