diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-01-12 22:19:39 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-01-12 22:19:39 +0000 |
commit | 43280f620282f15789660d0b93687714d9ebc2fd (patch) | |
tree | 42dd5e03b18663221c7ecbd4437ad7ba5e67f7e1 /src/gui/viewport.cpp | |
parent | 1fa4d61f949bb965efe7f2f8dd784298b1c6e4a8 (diff) | |
download | mana-43280f620282f15789660d0b93687714d9ebc2fd.tar.gz mana-43280f620282f15789660d0b93687714d9ebc2fd.tar.bz2 mana-43280f620282f15789660d0b93687714d9ebc2fd.tar.xz mana-43280f620282f15789660d0b93687714d9ebc2fd.zip |
Fixed initialization of mPlayerFollowMouse, the lack of which sometimes caused
the player to start walking when clicking on the GUI.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 2c69143f..08ca5141 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -47,6 +47,7 @@ Viewport::Viewport(): mCameraX(0), mCameraY(0), mShowDebugPath(false), + mPlayerFollowMouse(false), mPopupActive(false) { setOpaque(false); |