| 2518 | } |
| 2519 | |
| 2520 | Point3F afxMagicSpell::getShapeImpactPos(SceneObject* obj) |
| 2521 | { |
| 2522 | Point3F pos = obj->getRenderPosition(); |
| 2523 | if (obj->getTypeMask() & CorpseObjectType) |
| 2524 | pos.z += 0.5f; |
| 2525 | else |
| 2526 | pos.z += (obj->getObjBox().len_z()/2); |
| 2527 | return pos; |
| 2528 | } |
| 2529 | |
| 2530 | void afxMagicSpell::restoreObject(SceneObject* obj) |
| 2531 | { |
nothing calls this directly
no test coverage detected