From: Daniel Karbach Date: Sun, 30 Sep 2012 16:50:44 +0000 (+0200) Subject: initialize MapState::nextDirection X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=817aaf3ab0a935280f7366bccf963cb911d2fa31;p=l2e.git initialize MapState::nextDirection whoops --- diff --git a/src/map/MapState.cpp b/src/map/MapState.cpp index de16765..101d2c3 100644 --- a/src/map/MapState.cpp +++ b/src/map/MapState.cpp @@ -25,7 +25,8 @@ MapState::MapState(const Map *map) , controlled(0) , tempTarget(20, 20) , camera(100, 100, &tempTarget) -, walkingSpeed(64) { +, walkingSpeed(64) +, nextDirection(-1) { }