mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-19 07:31:03 +00:00
- Duke: Repair issues with handle_se32()
following lost Sgn()
call.
* Originated from "- first batch of routing all write access to sectortype::ceilingz and floorz through a function interface.".
This commit is contained in:
parent
e1d32bdbf5
commit
e5bcb8ee61
1 changed files with 1 additions and 1 deletions
|
@ -4520,7 +4520,7 @@ void handle_se32(DDukeActor *actor)
|
|||
actor->temp_data[2] = 0;
|
||||
actor->temp_data[0] = 0;
|
||||
}
|
||||
else sc->addceilingz((actor->temp_data[1] - sc->ceilingz) * actor->spr.yvel);
|
||||
else sc->addceilingz(Sgn(actor->temp_data[1] - sc->ceilingz) * actor->spr.yvel);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue