mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-22 19:41:20 +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)
|
if (act->spr.statnum != STAT_EFFECTOR)
|
||||||
{
|
{
|
||||||
act->backupz();
|
if (act->spr.statnum != STAT_PLAYER)
|
||||||
act->spr.pos.Z += v;
|
{
|
||||||
|
act->backupz();
|
||||||
|
act->spr.pos.Z += v;
|
||||||
|
}
|
||||||
act->floorz = dasectp->floorz + v;
|
act->floorz = dasectp->floorz + v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue