Skip to content
Browse files

Actor::CheckCastingInterrupt: use LastSpellTarget here too

was introduced after the original work in august
  • Loading branch information...
1 parent 8f9b125 commit 264fe290c6b1a294ca5153f8769d48c49bf0e6f0 @lynxlynxlynx lynxlynxlynx committed May 8, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 gemrb/core/Scriptable/Actor.cpp
View
3 gemrb/core/Scriptable/Actor.cpp
@@ -3750,8 +3750,7 @@ bool Actor::CheckCastingInterrupt(int damage, int spellLevel)
if (!third) {
return true;
}
- // FIXME: change to SpellTarget once the split is done
- if (!LastTarget && LastTargetPos.isempty()) {
+ if (!LastSpellTarget && LastTargetPos.isempty()) {
// not casting, nothing to do
return false;
}

0 comments on commit 264fe29

Please sign in to comment.
Something went wrong with that request. Please try again.