diff SpriteObject.cpp @ 2300:4c3f91554be8

stru319::GetMagicalResistance renamed to stru319::DoesDmgTypeDoDamage
author Grumpy7
date Sun, 16 Mar 2014 19:58:02 +0100
parents aff7a7b072b7
children df24d11208df
line wrap: on
line diff
--- a/SpriteObject.cpp	Sun Mar 16 19:43:28 2014 +0100
+++ b/SpriteObject.cpp	Sun Mar 16 19:58:02 2014 +0100
@@ -1032,7 +1032,7 @@
 
 		if ( v11 >= v7 * v7 + v9 * v9 + v10 * v10 )
         {
-          if ( stru_50C198.GetMagicalResistance(&pActors[i], 0xAu) )
+          if ( stru_50C198.DoesDmgTypeDoDamage(&pActors[i], 0xAu) )
           {
             pActors[i].pActorBuffs[this->spell_id].Apply(pParty->uTimePlayed + (signed int)(signed __int64)((double)(this->spell_level << 7) * 0.033333335),
                    this->spell_skill, 4, 0, 0);