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 | |
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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/gui/viewport.cpp | 1 |
2 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,10 @@ -2007-01-09 Philipp Sehmisch <tmw@crushnet.org> +2007-01-12 Bjørn Lindeijer <bjorn@lindeijer.nl> + + * src/gui/viewport.cpp: Fixed initialization of mPlayerFollowMouse, + the lack of which sometimes caused the player to start walking when + clicking on the GUI. + +2007-01-09 Philipp Sehmisch <tmw@crushnet.org> * data/graphics/icecave.png: Added new tiles and fixes by Nickman and made some other cosmetical corrections. 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); |