aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/party.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-05 07:21:54 -0500
committerPaul Gilbert2018-03-05 07:21:54 -0500
commitb04f038fb664fa349d0f343e279490de560e05aa (patch)
tree85a556fb13e53c8748dd384f51a7a75413f0f00c /engines/xeen/party.cpp
parentd48275970aa78866349f20f44bacdc0aff83e57b (diff)
downloadscummvm-rg350-b04f038fb664fa349d0f343e279490de560e05aa.tar.gz
scummvm-rg350-b04f038fb664fa349d0f343e279490de560e05aa.tar.bz2
scummvm-rg350-b04f038fb664fa349d0f343e279490de560e05aa.zip
XEEN: Fixes returning to main menus after viewing intro/end cutscenes
Diffstat (limited to 'engines/xeen/party.cpp')
-rw-r--r--engines/xeen/party.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp
index 62e74ae8c2..f6c1fe53f9 100644
--- a/engines/xeen/party.cpp
+++ b/engines/xeen/party.cpp
@@ -538,7 +538,6 @@ int Party::subtract(ConsumableType consumableId, uint amount, PartyBank whereId,
}
void Party::notEnough(ConsumableType consumableId, PartyBank whereId, bool mode, MessageWaitType wait) {
- assert(consumableId < 4 && whereId < 2);
Common::String msg = Common::String::format(
mode ? Res.NO_X_IN_THE_Y : Res.NOT_ENOUGH_X_IN_THE_Y,
Res.CONSUMABLE_NAMES[consumableId], Res.WHERE_NAMES[whereId]);