mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
XEEN: Fix not giving skills if party doesn't have enough gold
This commit is contained in:
parent
05535616b4
commit
a6e485e576
@ -802,6 +802,8 @@ bool Scripts::cmdTakeOrGive(ParamsIterator ¶ms) {
|
||||
if (!party.giveTake(mode1, val1, mode2, val2, _charIndex - 1)) {
|
||||
if (mode2 == 79)
|
||||
windows.closeAll();
|
||||
} else {
|
||||
return cmdExit(params);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user