diff options
author | Torbjörn Andersson | 2003-08-22 06:59:05 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-08-22 06:59:05 +0000 |
commit | 812f42ce8ecc985a1b4a97e267c3fa1117970f99 (patch) | |
tree | 06a4b89b39e80f10b67d168d7698e9e939757bca | |
parent | d960058e495fa8726abd3bdb02d035a9fd35be39 (diff) | |
download | scummvm-rg350-812f42ce8ecc985a1b4a97e267c3fa1117970f99.tar.gz scummvm-rg350-812f42ce8ecc985a1b4a97e267c3fa1117970f99.tar.bz2 scummvm-rg350-812f42ce8ecc985a1b4a97e267c3fa1117970f99.zip |
Only hide the mouse cursor if both the mouse animation and the luggage
animation are removed.
svn-id: r9818
-rw-r--r-- | sword2/driver/_mouse.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/sword2/driver/_mouse.cpp b/sword2/driver/_mouse.cpp index 029e49beea..71e79ee0bc 100644 --- a/sword2/driver/_mouse.cpp +++ b/sword2/driver/_mouse.cpp @@ -380,8 +380,12 @@ int32 SetMouseAnim(uint8 *ma, int32 size, int32 mouseFlash) { DrawMouse(); g_sword2->_system->show_mouse(true); - } else - g_sword2->_system->show_mouse(false); + } else { + if (luggageAnim) + DrawMouse(); + else + g_sword2->_system->show_mouse(false); + } return RD_OK; } @@ -403,9 +407,12 @@ int32 SetLuggageAnim(uint8 *ma, int32 size) { DrawMouse(); g_sword2->_system->show_mouse(true); - } else - g_sword2->_system->show_mouse(false); - + } else { + if (mouseAnim) + DrawMouse(); + else + g_sword2->_system->show_mouse(false); + } return RD_OK; } |