]> git.localhorst.tv Git - l2e.git/commitdiff
initialize MapState::nextDirection
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 30 Sep 2012 16:50:44 +0000 (18:50 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 30 Sep 2012 16:50:44 +0000 (18:50 +0200)
whoops

src/map/MapState.cpp

index de1676575fc1c2deb31810cc52c7eeef5c63edef..101d2c3a14780bbd462723be95e777841e701b00 100644 (file)
@@ -25,7 +25,8 @@ MapState::MapState(const Map *map)
 , controlled(0)
 , tempTarget(20, 20)
 , camera(100, 100, &tempTarget)
-, walkingSpeed(64) {
+, walkingSpeed(64)
+, nextDirection(-1) {
 
 }