aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/input.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-07-23 02:01:15 +0000
committerNicola Mettifogo2008-07-23 02:01:15 +0000
commita5ebc88dbc9d02ddbf96f49f43e448cd4de9caaf (patch)
tree089802334c6958c8fab0ac22fe91f93fc741d3e6 /engines/parallaction/input.cpp
parent5eec5f6b17d7e403408699d9eaf71a1956574cd9 (diff)
downloadscummvm-rg350-a5ebc88dbc9d02ddbf96f49f43e448cd4de9caaf.tar.gz
scummvm-rg350-a5ebc88dbc9d02ddbf96f49f43e448cd4de9caaf.tar.bz2
scummvm-rg350-a5ebc88dbc9d02ddbf96f49f43e448cd4de9caaf.zip
Fixed mouse cursor when closing inventory.
svn-id: r33220
Diffstat (limited to 'engines/parallaction/input.cpp')
-rw-r--r--engines/parallaction/input.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/parallaction/input.cpp b/engines/parallaction/input.cpp
index af55753d65..243eaec94f 100644
--- a/engines/parallaction/input.cpp
+++ b/engines/parallaction/input.cpp
@@ -333,7 +333,11 @@ void Input::exitInventoryMode() {
}
_vm->closeInventory();
- _vm->setInventoryCursor(item);
+ if (item == -1) {
+ _vm->setArrowCursor();
+ } else {
+ _vm->setInventoryCursor(item);
+ }
_vm->resumeJobs();
}