tinsel: add PSX specific code to workaround the thief bug in past ankh-morpork, i still have to give a better look at this though

svn-id: r40882
This commit is contained in:
Fabio Battaglia 2009-05-25 11:01:33 +00:00
parent 409c5e0a7e
commit ffcf4173f3
2 changed files with 16 additions and 0 deletions

View file

@ -3833,6 +3833,12 @@ void Walk(CORO_PARAM, int actor, int x, int y, SCNHANDLE hFilm, int hold, bool i
bool bQuick = hold != 0;
PMOVER pMover = GetMover(actor);
// FIXME: This is part of the workaround for PSX_THIEF_BUG,
// See the other code and description in PlayFilm() (play.cpp)
if (TinselV1PSX && actor == 77 && hFilm == 0)
return;
assert(pMover); // Can't walk a non-moving actor
CORO_BEGIN_CODE(_ctx);