diff options
author | Paul Gilbert | 2009-07-07 06:23:09 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-07-07 06:23:09 +0000 |
commit | 3dd21aa218fe0f775fe3e1c1f208d7cd2bb3689a (patch) | |
tree | d4e85b7453d23763ea3b205c741d504ba5a80a20 /engines | |
parent | 7cc82cfea16b97a3660fea524c3b54aecbff8755 (diff) | |
download | scummvm-rg350-3dd21aa218fe0f775fe3e1c1f208d7cd2bb3689a.tar.gz scummvm-rg350-3dd21aa218fe0f775fe3e1c1f208d7cd2bb3689a.tar.bz2 scummvm-rg350-3dd21aa218fe0f775fe3e1c1f208d7cd2bb3689a.zip |
Fix to the return values of the Op_GetMouseButton library function now allows the game's "Fisticuffs path" to work properly
svn-id: r42199
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cruise/function.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp index 0f0113afbf..fb67cef91c 100644 --- a/engines/cruise/function.cpp +++ b/engines/cruise/function.cpp @@ -709,9 +709,7 @@ int16 Op_GetMouseButton(void) { getMouseStatus(&dummy, &mouseX, &mouseButton, &mouseY); - if (mouseButton) - return 1; - return 0; + return mouseButton; } int16 Op_AddCell(void) { |