diff options
author | Paul Gilbert | 2018-01-23 20:28:11 -0500 |
---|---|---|
committer | Paul Gilbert | 2018-01-23 20:28:11 -0500 |
commit | 770efbe803ee8a1a78909af10f913d415f97b29e (patch) | |
tree | c6ae5d9379218726b93398f8150aeff05360dd6c | |
parent | 534755fea1b3b887b85e4384cb224ad7658eda60 (diff) | |
download | scummvm-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.cpp | 4 |
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; } |