diff Player.cpp @ 1694:5ead2688a227

Player::_48DCF6 renamed to Player::ReceiveSpecialAttackEffect second attempt
author Grumpy7
date Sun, 22 Sep 2013 10:04:33 +0200
parents 861ede68187a
children 33df22a5e376
line wrap: on
line diff
--- a/Player.cpp	Sun Sep 22 10:04:00 2013 +0200
+++ b/Player.cpp	Sun Sep 22 10:04:33 2013 +0200
@@ -2268,7 +2268,7 @@
 }
 
 //----- (0048DCF6) --------------------------------------------------------
-int Player::_48DCF6(int a2, Actor *pActor)  //TODO check this with IDA to see what the uninitialized vars are supposed to contain
+int Player::ReceiveSpecialAttackEffect(int a2, Actor *pActor)  //TODO check this with IDA to see what the uninitialized vars are supposed to contain
 {
   signed int v3; // edi@1
   signed int v4; // ebx@1
@@ -7508,7 +7508,7 @@
         && actorPtr->pMonsterInfo.uSpecialAttackType
         && rand() % 100 < actorPtr->pMonsterInfo.uLevel * actorPtr->pMonsterInfo.uSpecialAttackLevel )
       {
-        playerPtr->_48DCF6(actorPtr->pMonsterInfo.uSpecialAttackType, actorPtr);
+        playerPtr->ReceiveSpecialAttackEffect(actorPtr->pMonsterInfo.uSpecialAttackType, actorPtr);
       }
     }
     if ( !pParty->bTurnBasedModeOn )
@@ -7699,7 +7699,7 @@
         && actorPtr->pMonsterInfo.uSpecialAttackType
         && rand() % 100 < actorPtr->pMonsterInfo.uLevel * actorPtr->pMonsterInfo.uSpecialAttackLevel )
       {
-        playerPtr->_48DCF6(actorPtr->pMonsterInfo.uSpecialAttackType, actorPtr);
+        playerPtr->ReceiveSpecialAttackEffect(actorPtr->pMonsterInfo.uSpecialAttackType, actorPtr);
       }
       if ( !pParty->bTurnBasedModeOn )
       {