mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-22 11:31:11 +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
|
@ -391,9 +391,12 @@ void doanimations(void)
|
||||||
while (auto act = it.Next())
|
while (auto act = it.Next())
|
||||||
{
|
{
|
||||||
if (act->spr.statnum != STAT_EFFECTOR)
|
if (act->spr.statnum != STAT_EFFECTOR)
|
||||||
|
{
|
||||||
|
if (act->spr.statnum != STAT_PLAYER)
|
||||||
{
|
{
|
||||||
act->backupz();
|
act->backupz();
|
||||||
act->spr.pos.Z += v;
|
act->spr.pos.Z += v;
|
||||||
|
}
|
||||||
act->floorz = dasectp->floorz + v;
|
act->floorz = dasectp->floorz + v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue