From: Daniel Karbach Date: Fri, 12 Oct 2012 18:56:23 +0000 (+0200) Subject: initialize lastLock to an improbable position X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=d175cb3d44d8f6b587d7b0ee3984c07b7466013f;p=l2e.git initialize lastLock to an improbable position --- diff --git a/src/map/MapState.cpp b/src/map/MapState.cpp index e1b3e1f..8dab40e 100644 --- a/src/map/MapState.cpp +++ b/src/map/MapState.cpp @@ -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)