]> git.localhorst.tv Git - l2e.git/commitdiff
initialize lastLock to an improbable position
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 12 Oct 2012 18:56:23 +0000 (20:56 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 12 Oct 2012 18:56:23 +0000 (20:56 +0200)
src/map/MapState.cpp

index e1b3e1f95030d7074ab91067a38d9ba94b7f0983..8dab40e9bba9bde45dcf9a154bacf34f6a1454c4 100644 (file)
@@ -35,6 +35,7 @@ MapState::MapState(GameConfig *g, Map *map)
 , map(map)
 , controlled(0)
 , pushed(0)
+, lastLock(-1, -1)
 , camera(100, 100, 0)
 , walkingSpeed(64)
 , nextDirection(-1)