diff options
author | Thanasis Antoniou | 2019-05-09 19:18:08 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-05-09 19:18:08 +0300 |
commit | 96660273fd44a251acc6bf48f9f260ba5858a668 (patch) | |
tree | f32011a782dc6f699d3b5cdf4c15ecba3b19d77c /engines/bladerunner/actor_walk.h | |
parent | b1a0ed0d93e1f080083edb4782249e766f1f1b43 (diff) | |
download | scummvm-rg350-96660273fd44a251acc6bf48f9f260ba5858a668.tar.gz scummvm-rg350-96660273fd44a251acc6bf48f9f260ba5858a668.tar.bz2 scummvm-rg350-96660273fd44a251acc6bf48f9f260ba5858a668.zip |
BLADERUNNER: Fix bad new game pos for player
Diffstat (limited to 'engines/bladerunner/actor_walk.h')
-rw-r--r-- | engines/bladerunner/actor_walk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/bladerunner/actor_walk.h b/engines/bladerunner/actor_walk.h index c0cdd937c0..fb3bd2f63e 100644 --- a/engines/bladerunner/actor_walk.h +++ b/engines/bladerunner/actor_walk.h @@ -49,6 +49,8 @@ public: ActorWalk(BladeRunnerEngine *vm); ~ActorWalk(); + void reset(); // added method for bug fix (bad new game state for player actor) and better management of object + bool setup(int actorId, bool runFlag, const Vector3 &from, const Vector3 &to, bool mustReach, bool *arrived); void getCurrentPosition(int actorId, Vector3 *pos, int *facing) const; bool tick(int actorId, float stepDistance, bool flag); |