summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-12 22:19:39 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-12 22:19:39 +0000
commit43280f620282f15789660d0b93687714d9ebc2fd (patch)
tree42dd5e03b18663221c7ecbd4437ad7ba5e67f7e1
parent1fa4d61f949bb965efe7f2f8dd784298b1c6e4a8 (diff)
downloadmana-client-43280f620282f15789660d0b93687714d9ebc2fd.tar.gz
mana-client-43280f620282f15789660d0b93687714d9ebc2fd.tar.bz2
mana-client-43280f620282f15789660d0b93687714d9ebc2fd.tar.xz
mana-client-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--ChangeLog8
-rw-r--r--src/gui/viewport.cpp1
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b161cb83..22ca8221 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);