aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
authorPaul Gilbert2019-08-18 19:32:36 -0700
committerPaul Gilbert2019-08-18 19:32:36 -0700
commitb39ab39d446dbf73d672a95992f4c40057c5020d (patch)
treeebcb00d1df582104dc1e4fd3652df87620a3184a /engines/xeen
parent2547ad576d3e264a6aef225a50897be0669ee40b (diff)
downloadscummvm-rg350-b39ab39d446dbf73d672a95992f4c40057c5020d.tar.gz
scummvm-rg350-b39ab39d446dbf73d672a95992f4c40057c5020d.tar.bz2
scummvm-rg350-b39ab39d446dbf73d672a95992f4c40057c5020d.zip
XEEN: Fix granting temporary fire resistance
Diffstat (limited to 'engines/xeen')
-rw-r--r--engines/xeen/party.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp
index 1fee0980d2..e8c69fdf92 100644
--- a/engines/xeen/party.cpp
+++ b/engines/xeen/party.cpp
@@ -1327,7 +1327,7 @@ bool Party::giveTake(int takeMode, uint takeVal, int giveMode, uint giveVal, int
intf.spellFX(&ps);
break;
case 58:
- ps._luck._temporary = MIN(ps._luck._temporary + giveVal, (uint)255);
+ ps._fireResistence._temporary = MIN(ps._fireResistence._temporary + giveVal, (uint)255);
intf.spellFX(&ps);
break;
case 59: