aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-01-23 20:28:11 -0500
committerPaul Gilbert2018-01-23 20:28:11 -0500
commit770efbe803ee8a1a78909af10f913d415f97b29e (patch)
treec6ae5d9379218726b93398f8150aeff05360dd6c
parent534755fea1b3b887b85e4384cb224ad7658eda60 (diff)
downloadscummvm-rg350-770efbe803ee8a1a78909af10f913d415f97b29e.tar.gz
scummvm-rg350-770efbe803ee8a1a78909af10f913d415f97b29e.tar.bz2
scummvm-rg350-770efbe803ee8a1a78909af10f913d415f97b29e.zip
XEEN: Don't give out treasure if party runs from combat
-rw-r--r--engines/xeen/interface.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/xeen/interface.cpp b/engines/xeen/interface.cpp
index b8cf361fee..b0559f3f80 100644
--- a/engines/xeen/interface.cpp
+++ b/engines/xeen/interface.cpp
@@ -1614,7 +1614,9 @@ void Interface::doCombat() {
nextChar();
if (_vm->_mode == MODE_1) {
- warning("TODO: loss of treasure");
+ party._treasure._gems = 0;
+ party._treasure._gold = 0;
+ party._treasure._hasItems = false;
party.moveToRunLocation();
breakFlag = true;
}