Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ClearActions: also clear LastTargetPos

  • Loading branch information...
commit 7810bfdd7435f3b1991302a79a21932525c31e96 1 parent 059a982
@lynxlynxlynx lynxlynxlynx authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  gemrb/core/Scriptable/Scriptable.cpp
View
1  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();
Please sign in to comment.
Something went wrong with that request. Please try again.