diff options
author | Andrei Karas <akaras@inbox.ru> | 2010-03-20 23:10:11 +0200 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-03-20 15:35:38 -0600 |
commit | 54f39afae942d88012f4842ac1dc1ee5dca6d4c7 (patch) | |
tree | af628352bc1821ae1d36a454f471fb93b4c8eeb5 /src | |
parent | 4d5e76d4be588397053702b11c70901453bd8fd9 (diff) | |
download | Mana-54f39afae942d88012f4842ac1dc1ee5dca6d4c7.tar.gz Mana-54f39afae942d88012f4842ac1dc1ee5dca6d4c7.tar.bz2 Mana-54f39afae942d88012f4842ac1dc1ee5dca6d4c7.tar.xz Mana-54f39afae942d88012f4842ac1dc1ee5dca6d4c7.zip |
Initialize missed variables in vieport
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/viewport.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 9befac9d..0c281973 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -55,7 +55,9 @@ Viewport::Viewport(): mPixelViewY(0.0f), mShowDebugPath(false), mPlayerFollowMouse(false), - mLocalWalkTime(-1) + mLocalWalkTime(-1), + mHoverBeing(0), + mHoverItem(0) { setOpaque(false); addMouseListener(this); |