[Scummvm-git-logs] scummvm master -> b39ab39d446dbf73d672a95992f4c40057c5020d

dreammaster paulfgilbert at gmail.com
Mon Aug 19 04:32:45 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b39ab39d44 XEEN: Fix granting temporary fire resistance


Commit: b39ab39d446dbf73d672a95992f4c40057c5020d
    https://github.com/scummvm/scummvm/commit/b39ab39d446dbf73d672a95992f4c40057c5020d
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-08-18T19:32:36-07:00

Commit Message:
XEEN: Fix granting temporary fire resistance

Changed paths:
    engines/xeen/party.cpp


diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp
index 1fee098..e8c69fd 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:





More information about the Scummvm-git-logs mailing list