diff options
author | Paul Gilbert | 2018-01-27 16:27:03 -0500 |
---|---|---|
committer | Paul Gilbert | 2018-01-27 16:27:03 -0500 |
commit | 540f47294a0274e2aaa9178a11997b4b975a6234 (patch) | |
tree | b3de9be891447b0158933dedf73148605e55346d /engines/xeen/party.cpp | |
parent | c74700e2f7a85113fffc8ff5a4d7d2623d025740 (diff) | |
download | scummvm-rg350-540f47294a0274e2aaa9178a11997b4b975a6234.tar.gz scummvm-rg350-540f47294a0274e2aaa9178a11997b4b975a6234.tar.bz2 scummvm-rg350-540f47294a0274e2aaa9178a11997b4b975a6234.zip |
XEEN: Move Scripts _v2 to Combat _damageTarget
The _damageTarget field is wonky. In most places, such as in
giveCharDamage, it's treated like an enum. But in the if opcode
logic (cmdIf), it's definitely treated a character index
Diffstat (limited to 'engines/xeen/party.cpp')
-rw-r--r-- | engines/xeen/party.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp index 346011838c..f6bd5ca7fc 100644 --- a/engines/xeen/party.cpp +++ b/engines/xeen/party.cpp @@ -686,7 +686,7 @@ void Party::giveTreasure() { _treasure._armor[idx].clear(); } - scripts._v2 = 1; + combat._combatTarget = 1; } bool Party::arePacksFull() const { |