mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- Added a voodoo doll check around the PlayIdle() call in EV_Teleport().
SVN r486 (trunk)
This commit is contained in:
parent
ecc45d5d6e
commit
981afe2831
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ bool EV_Teleport (int tid, int tag, line_t *line, int side, AActor *thing, bool
|
|||
thing->momx = FixedMul(momx, c) - FixedMul(momy, s);
|
||||
thing->momy = FixedMul(momy, c) + FixedMul(momx, s);
|
||||
}
|
||||
if ((momx | momy) == 0 && thing->player != NULL)
|
||||
if ((momx | momy) == 0 && thing->player != NULL && thing->player->mo == thing)
|
||||
{
|
||||
thing->player->mo->PlayIdle ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue