diff options
author | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-08-21 15:11:19 +0000 |
---|---|---|
committer | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-08-21 15:11:19 +0000 |
commit | 0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9 (patch) | |
tree | a07d923f09e8c9aa4a478e2bd572ab94edf09ae4 /src/gui/gui.cpp | |
parent | 148b62c05337eaaaf3a1ead212b3792122812cee (diff) | |
download | mana-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.tar.gz mana-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.tar.bz2 mana-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.tar.xz mana-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.zip |
mantis id=118 - Added Item Shortcut Bar.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 3f9dfd73..3e7541cf 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -207,10 +207,9 @@ Gui::draw() int mouseX, mouseY; Uint8 button = SDL_GetMouseState(&mouseX, &mouseY); - if ((SDL_GetAppState() & SDL_APPMOUSEFOCUS || button & SDL_BUTTON(1)) - && mCustomCursor) + if ((SDL_GetAppState() & SDL_APPMOUSEFOCUS || button & SDL_BUTTON(1)) && + mCustomCursor) { - static_cast<Graphics*>(mGraphics)->drawImage( mMouseCursor->get(mCursorType), mouseX - 15, |