mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-12 14:55:36 +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)
|
if (actor->spr.shade)
|
||||||
{
|
{
|
||||||
sec->addceilingz(actor->spr.yint);
|
sec->addceilingz(actor->spr.yint * zmaptoworld);
|
||||||
if (sec->ceilingz > sec->floorz)
|
if (sec->ceilingz > sec->floorz)
|
||||||
{
|
{
|
||||||
sec->setceilingz(sec->floorz);
|
sec->setceilingz(sec->floorz);
|
||||||
|
@ -4419,7 +4419,7 @@ void handle_se25(DDukeActor* actor, int t_index, int snd1, int snd2)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sec->addceilingz(-actor->spr.yint);
|
sec->addceilingz(-actor->spr.yint * zmaptoworld);
|
||||||
if (sec->int_ceilingz() < actor->temp_data[t_index])
|
if (sec->int_ceilingz() < actor->temp_data[t_index])
|
||||||
{
|
{
|
||||||
sec->set_int_ceilingz(actor->temp_data[t_index]);
|
sec->set_int_ceilingz(actor->temp_data[t_index]);
|
||||||
|
|
Loading…
Reference in a new issue