summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/being.cpp4
-rw-r--r--src/map.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 6ae71f85..6e8449a4 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -94,8 +94,8 @@ Being::Being(int id, int job, Map *map):
#endif
mPx(0), mPy(0),
mX(0), mY(0),
- mUsedTargetCursor(NULL),
- mTakedDamage(0)
+ mTakedDamage(0),
+ mUsedTargetCursor(NULL)
{
setMap(map);
diff --git a/src/map.cpp b/src/map.cpp
index 73686d61..db1e9aa2 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -185,9 +185,9 @@ Map::Map(int width, int height, int tileWidth, int tileHeight):
mWidth(width), mHeight(height),
mTileWidth(tileWidth), mTileHeight(tileHeight),
mMaxTileHeight(height),
+ mDebugFlags(MAP_NORMAL),
mOnClosedList(1), mOnOpenList(2),
- mLastScrollX(0.0f), mLastScrollY(0.0f),
- mDebugFlags(MAP_NORMAL)
+ mLastScrollX(0.0f), mLastScrollY(0.0f)
{
const int size = mWidth * mHeight;