Use EERIE_3D_BBOX
Remove unused variable
Use Rect center method
Replace spell references with pointer
Cleanup CNegateMagic
Remove spell handle from spell effect
Use ExistAnyInstanceForThisCaster
Remove spell handle from spell effect
Cleanup confuse spell effect
Remove spell handle from confuse spell effect
Cleanup repel undead spell effect
Remove spell handle from repel undead spell effect
Move implementations out of header
Change parameter type
Move resetting of LAST_PRECAST_TIME
Code style