[cp0040] Added checks for SpellHitResult