mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- fixed bad direction setup for vertically moving SE 0.
This also adds missing interpolation for this case.
This commit is contained in:
parent
5f6cd0da79
commit
4f388c3589
2 changed files with 2 additions and 1 deletions
|
@ -727,7 +727,7 @@ void handle_se00(DDukeActor* actor)
|
|||
if (sect->floorz > actor->spr.pos.Z) //z's are touching
|
||||
{
|
||||
sect->addfloorz(-2);
|
||||
zchange = 2;
|
||||
zchange = -2;
|
||||
if (sect->floorz < actor->spr.pos.Z)
|
||||
sect->setfloorz(actor->spr.pos.Z);
|
||||
}
|
||||
|
|
|
@ -863,6 +863,7 @@ void spawneffector(DDukeActor* actor, TArray<DDukeActor*>* actors)
|
|||
case SE_15_SLIDING_DOOR:
|
||||
case SE_16_REACTOR:
|
||||
case SE_26:
|
||||
if(actor->spr.lotag == SE_0_ROTATING_SECTOR) StartInterpolation(actor->sector(), Interp_Sect_Floorz);
|
||||
setsectinterpolate(actor->sector());
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue