summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeyorp <Freeyorp101@hotmail.com>2009-12-19 22:56:59 +1300
committerFreeyorp <Freeyorp101@hotmail.com>2009-12-19 22:56:59 +1300
commit58149dca937410826971f99b72e304121e61abb7 (patch)
tree61af810c785b1176f7ab56d5f8deced40b377668
parent2968691478f6479e98377ca500a0da69bc0f392a (diff)
downloadmana-58149dca937410826971f99b72e304121e61abb7.tar.gz
mana-58149dca937410826971f99b72e304121e61abb7.tar.bz2
mana-58149dca937410826971f99b72e304121e61abb7.tar.xz
mana-58149dca937410826971f99b72e304121e61abb7.zip
Allow the player to move using the mouse at startup
Previously, the player had to move using the keyboard before movement with the mouse was possible
-rw-r--r--src/gui/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index ded0f061..01aa75ee 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -58,7 +58,7 @@ Viewport::Viewport():
#ifdef MANASERV_SUPPORT
mLocalWalkTime(-1)
#else
- mWalkTime(0)
+ mWalkTime(-1)
#endif
{
setOpaque(false);