mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- Duke: Fix doanimations()
following position change to sprite.
This commit is contained in:
parent
6d1370dcab
commit
4e4e457cfe
1 changed files with 5 additions and 2 deletions
|
@ -392,8 +392,11 @@ void doanimations(void)
|
|||
{
|
||||
if (act->spr.statnum != STAT_EFFECTOR)
|
||||
{
|
||||
act->backupz();
|
||||
act->spr.pos.Z += v;
|
||||
if (act->spr.statnum != STAT_PLAYER)
|
||||
{
|
||||
act->backupz();
|
||||
act->spr.pos.Z += v;
|
||||
}
|
||||
act->floorz = dasectp->floorz + v;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue