Permalink
Browse files

ClearActions: also clear LastTargetPos

  • Loading branch information...
1 parent 059a982 commit 7810bfdd7435f3b1991302a79a21932525c31e96 @lynxlynxlynx lynxlynxlynx committed Aug 9, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 gemrb/core/Scriptable/Scriptable.cpp
@@ -503,6 +503,7 @@ void Scriptable::ClearActions()
actionQueue.clear();
WaitCounter = 0;
LastTarget = 0;
+ LastTargetPos.empty();
if (Type == ST_ACTOR) {
Interrupt();

0 comments on commit 7810bfd

Please sign in to comment.