aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/character.h
diff options
context:
space:
mode:
authorsylvaintv2013-06-30 01:18:07 +0200
committersylvaintv2013-06-30 01:18:07 +0200
commit114eff979d281341f9a7661a58b0ea2114fcfc7d (patch)
treed881eeebcebbba822fc5693a694a78487bad600e /engines/toon/character.h
parent7c18021c52985aabc4574c633ba6569bbddd648b (diff)
downloadscummvm-rg350-114eff979d281341f9a7661a58b0ea2114fcfc7d.tar.gz
scummvm-rg350-114eff979d281341f9a7661a58b0ea2114fcfc7d.tar.bz2
scummvm-rg350-114eff979d281341f9a7661a58b0ea2114fcfc7d.zip
TOON: Fix bug #3611869 - Drew sometimes ends up stuck walking forever
Canceled old character setFacing when a new one is issued during the character rotation. Bug #3611869: "TOON: Drew sometimes ends up stuck walking forever"
Diffstat (limited to 'engines/toon/character.h')
-rw-r--r--engines/toon/character.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/toon/character.h b/engines/toon/character.h
index d33c314bf7..b248e7ccf2 100644
--- a/engines/toon/character.h
+++ b/engines/toon/character.h
@@ -143,6 +143,7 @@ protected:
Common::Array<Common::Point> _currentPath;
uint32 _currentPathNode;
int32 _currentWalkStamp;
+ int32 _currentFacingStamp;
};
} // End of namespace Toon