diff mm7_2.cpp @ 2300:4c3f91554be8

stru319::GetMagicalResistance renamed to stru319::DoesDmgTypeDoDamage
author Grumpy7
date Sun, 16 Mar 2014 19:58:02 +0100
parents d65414f65bd4
children df24d11208df
line wrap: on
line diff
--- a/mm7_2.cpp	Sun Mar 16 19:43:28 2014 +0100
+++ b/mm7_2.cpp	Sun Mar 16 19:58:02 2014 +0100
@@ -4343,7 +4343,7 @@
               if ( pSpriteObjects[uLayingItemID].uType != 9030 || v152 != 4 )
               {
                 v108 = v139;
-                if ( stru_50C198.GetMagicalResistance(&pActors[v139], v107) )
+                if ( stru_50C198.DoesDmgTypeDoDamage(&pActors[v139], v107) )
                 {
                   v138 = 0;
                   if ( pSpriteObjects[uLayingItemID].uType == 8030 )