From d175cb3d44d8f6b587d7b0ee3984c07b7466013f Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Fri, 12 Oct 2012 20:56:23 +0200 Subject: [PATCH] initialize lastLock to an improbable position --- src/map/MapState.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.2