XEEN: Fix not giving skills if party doesn't have enough gold

This commit is contained in:
Paul Gilbert 2019-08-09 18:03:40 -07:00
parent 05535616b4
commit a6e485e576

View File

@ -802,6 +802,8 @@ bool Scripts::cmdTakeOrGive(ParamsIterator &params) {
if (!party.giveTake(mode1, val1, mode2, val2, _charIndex - 1)) {
if (mode2 == 79)
windows.closeAll();
} else {
return cmdExit(params);
}
}
break;