diff options
author | Willem Jan Palenstijn | 2016-03-01 20:18:29 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2016-03-01 20:18:29 +0100 |
commit | 0012390f2ad1c417d68e7db74717a6d996ce41ee (patch) | |
tree | 53fd11f23bc8a7526bad826f0f301ef23d5b8d2d /engines/sci/engine/selector.h | |
parent | b6a8907edf0d604aa37300f4d1485d8d6e542994 (diff) | |
download | scummvm-rg350-0012390f2ad1c417d68e7db74717a6d996ce41ee.tar.gz scummvm-rg350-0012390f2ad1c417d68e7db74717a6d996ce41ee.tar.bz2 scummvm-rg350-0012390f2ad1c417d68e7db74717a6d996ce41ee.zip |
SCI32: Fix index/offset mixup in updateInfoFlagViewVisible
Diffstat (limited to 'engines/sci/engine/selector.h')
-rw-r--r-- | engines/sci/engine/selector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/selector.h b/engines/sci/engine/selector.h index 1952ca0599..a8bbbe75e3 100644 --- a/engines/sci/engine/selector.h +++ b/engines/sci/engine/selector.h @@ -201,10 +201,10 @@ void invokeSelector(EngineState *s, reg_t object, int selectorId, /** * SCI32 set kInfoFlagViewVisible in the -info- selector if a certain * range of properties was written to. - * This function checks if offset is in the right range, and sets the flag + * This function checks if index is in the right range, and sets the flag * on obj.-info- if it is. */ -void updateInfoFlagViewVisible(Object *obj, int offset); +void updateInfoFlagViewVisible(Object *obj, int index); #endif } // End of namespace Sci |