From 817aaf3ab0a935280f7366bccf963cb911d2fa31 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Sun, 30 Sep 2012 18:50:44 +0200 Subject: [PATCH] initialize MapState::nextDirection whoops --- src/map/MapState.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { } -- 2.39.2