From b39ab39d446dbf73d672a95992f4c40057c5020d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 18 Aug 2019 19:32:36 -0700 Subject: XEEN: Fix granting temporary fire resistance --- engines/xeen/party.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/xeen') 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: -- cgit v1.2.3