mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
- Duke: fixed bad crusher speed in SE 25.
This commit is contained in:
parent
db810250c3
commit
32d49cf199
1 changed files with 2 additions and 2 deletions
|
@ -4409,7 +4409,7 @@ void handle_se25(DDukeActor* actor, int t_index, int snd1, int snd2)
|
|||
|
||||
if (actor->spr.shade)
|
||||
{
|
||||
sec->addceilingz(actor->spr.yint);
|
||||
sec->addceilingz(actor->spr.yint * zmaptoworld);
|
||||
if (sec->ceilingz > sec->floorz)
|
||||
{
|
||||
sec->setceilingz(sec->floorz);
|
||||
|
@ -4419,7 +4419,7 @@ void handle_se25(DDukeActor* actor, int t_index, int snd1, int snd2)
|
|||
}
|
||||
else
|
||||
{
|
||||
sec->addceilingz(-actor->spr.yint);
|
||||
sec->addceilingz(-actor->spr.yint * zmaptoworld);
|
||||
if (sec->int_ceilingz() < actor->temp_data[t_index])
|
||||
{
|
||||
sec->set_int_ceilingz(actor->temp_data[t_index]);
|
||||
|
|
Loading…
Reference in a new issue