diff options
author | athrxx | 2011-02-16 16:23:44 +0100 |
---|---|---|
committer | athrxx | 2011-02-16 16:23:44 +0100 |
commit | d7e700f370c258a5f4786d972af3666b93b71f94 (patch) | |
tree | 5a4bf4203b9088e29ee0146715720ae46208bf08 /engines/kyra/kyra_v1.h | |
parent | 68e468ee01b243e31b154a7fab42396c9b24e5f0 (diff) | |
download | scummvm-rg350-d7e700f370c258a5f4786d972af3666b93b71f94.tar.gz scummvm-rg350-d7e700f370c258a5f4786d972af3666b93b71f94.tar.bz2 scummvm-rg350-d7e700f370c258a5f4786d972af3666b93b71f94.zip |
KYRA/LOL: fixed hand item cursor bug
This fixes a bug when loading savegames with different active hand items via GMM. The mouse cursor was not set to the active hand item in these cases.
Diffstat (limited to 'engines/kyra/kyra_v1.h')
-rw-r--r-- | engines/kyra/kyra_v1.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/kyra_v1.h b/engines/kyra/kyra_v1.h index 12b9fb5942..cf51774b0f 100644 --- a/engines/kyra/kyra_v1.h +++ b/engines/kyra/kyra_v1.h @@ -343,6 +343,9 @@ protected: virtual void setHandItem(Item item) = 0; virtual void removeHandItem() = 0; + void setDelayedCursorUpdate() { _updateHandItemCursor = true; } + bool _updateHandItemCursor; + // game flags uint8 _flagsTable[100]; // TODO: check this value |