Mercurial > mm7
comparison Actor.cpp @ 1517:c3da3c2985b8
Clean CastSpellInfo. (1)
author | yoctozepto |
---|---|
date | Wed, 04 Sep 2013 14:34:59 +0200 |
parents | 4ce525fe9ea9 |
children | 4c787c28ddce |
comparison
equal
deleted
inserted
replaced
1516:f3cd08b89476 | 1517:c3da3c2985b8 |
---|---|
2306 v7 = uActorID; | 2306 v7 = uActorID; |
2307 pPlayer = &pParty->pPlayers[uActiveCharacter-1]; | 2307 pPlayer = &pParty->pPlayers[uActiveCharacter-1]; |
2308 result = pPlayer->CanAct(); | 2308 result = pPlayer->CanAct(); |
2309 if ( result ) | 2309 if ( result ) |
2310 { | 2310 { |
2311 pCastSpellInfo.data()->_427D48(v1); | 2311 CastSpellInfoHelpers::_427D48(); |
2312 v4 = 0; | 2312 v4 = 0; |
2313 v5 = pMapStats->GetMapInfo(pCurrentMapName); | 2313 v5 = pMapStats->GetMapInfo(pCurrentMapName); |
2314 if ( v5 ) | 2314 if ( v5 ) |
2315 v4 = pMapStats->pInfos[v5]._steal_perm; | 2315 v4 = pMapStats->pInfos[v5]._steal_perm; |
2316 v6 = &pOutdoor->ddm; | 2316 v6 = &pOutdoor->ddm; |