comparison 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
comparison
equal deleted inserted replaced
2294:815d9ecf9881 2300:4c3f91554be8
4341 v107 = v136; 4341 v107 = v136;
4342 LABEL_222: 4342 LABEL_222:
4343 if ( pSpriteObjects[uLayingItemID].uType != 9030 || v152 != 4 ) 4343 if ( pSpriteObjects[uLayingItemID].uType != 9030 || v152 != 4 )
4344 { 4344 {
4345 v108 = v139; 4345 v108 = v139;
4346 if ( stru_50C198.GetMagicalResistance(&pActors[v139], v107) ) 4346 if ( stru_50C198.DoesDmgTypeDoDamage(&pActors[v139], v107) )
4347 { 4347 {
4348 v138 = 0; 4348 v138 = 0;
4349 if ( pSpriteObjects[uLayingItemID].uType == 8030 ) 4349 if ( pSpriteObjects[uLayingItemID].uType == 8030 )
4350 { 4350 {
4351 pActors[v108].uAIState = Standing; 4351 pActors[v108].uAIState = Standing;