mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
ASYLUM: disable used keywords in dialogs
This commit is contained in:
parent
64bc9fb9c5
commit
5232b84877
@ -614,7 +614,7 @@ void Encounter::choose(int32 index) {
|
||||
_value1 = (_item->keywords[index] & KEYWORD_MASK);
|
||||
setVariable(1, _value1);
|
||||
|
||||
if (strcmp("Goodbye", getText()->get(MAKE_RESOURCE(kResourcePackText, 3681 + index))))
|
||||
if (strcmp("Goodbye", getText()->get(MAKE_RESOURCE(kResourcePackText, 3681 + _value1))))
|
||||
if (_index != 79)
|
||||
BYTE1(_item->keywords[index]) |= kKeywordOptionsDisabled;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user