# HG changeset patch # User Grumpy7 # Date 1379837073 -7200 # Node ID 5ead2688a22773cd1e838c2e7862dd209b9be5fb # Parent 861ede68187abb3ee2231cb16a0760164789072e Player::_48DCF6 renamed to Player::ReceiveSpecialAttackEffect second attempt diff -r 861ede68187a -r 5ead2688a227 Player.cpp --- 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 ) {