summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-10 05:22:25 +0000
committerJared Adams <jaxad0127@gmail.com>2010-01-10 05:22:25 +0000
commit5757066312cab082378dbc5d8df97dea3fe40af0 (patch)
tree1f41ef6c5fce15d4ce823efa843ad4f4df3ad338 /src/map.cpp
parent0c86751e2ca0674e1ae6e584b9e017af8d1e48fe (diff)
downloadmana-5757066312cab082378dbc5d8df97dea3fe40af0.tar.gz
mana-5757066312cab082378dbc5d8df97dea3fe40af0.tar.bz2
mana-5757066312cab082378dbc5d8df97dea3fe40af0.tar.xz
mana-5757066312cab082378dbc5d8df97dea3fe40af0.zip
Fix initialization order in Being and Map
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp4
1 files changed, 2 insertions, 2 deletions
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;