[Scummvm-git-logs] scummvm master -> 2ab50d334a88588253390db0a20e8a81b47f8af2

bluegr noreply at scummvm.org
Tue Jun 10 03:48:27 UTC 2025


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

Summary:
2ab50d334a XEEN: Fix protection from elements spell


Commit: 2ab50d334a88588253390db0a20e8a81b47f8af2
    https://github.com/scummvm/scummvm/commit/2ab50d334a88588253390db0a20e8a81b47f8af2
Author: Łukasz Lenkiewicz (lukasz at lenkiewicz.xyz)
Date: 2025-06-10T06:48:23+03:00

Commit Message:
XEEN: Fix protection from elements spell

Changed paths:
    engines/mm/xeen/spells.cpp


diff --git a/engines/mm/xeen/spells.cpp b/engines/mm/xeen/spells.cpp
index c39c6715f39..fa98bbf8eaa 100644
--- a/engines/mm/xeen/spells.cpp
+++ b/engines/mm/xeen/spells.cpp
@@ -42,7 +42,7 @@ void Spells::load() {
 		if (Common::RU_RUS == g_vm->getLanguage() && GType_Clouds == g_vm->getGameID()) {
 			f1.readString();
 			_spellNames.push_back(Res.CLOUDS_SPELLS[i++]);
-		} else 
+		} else
 			_spellNames.push_back(f1.readString());
 
 	}
@@ -943,7 +943,7 @@ void Spells::protectionFromElements() {
 			party._fireResistance = resist;
 			break;
 		case DT_ELECTRICAL:
-			party._fireResistance = resist;
+			party._electricityResistance = resist;
 			break;
 		case DT_COLD:
 			party._coldResistance = resist;




More information about the Scummvm-git-logs mailing list