mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- floatify hande_se35
This looks broken because the destination height is never set anywhere.
This commit is contained in:
parent
4196195b89
commit
68bc812681
1 changed files with 2 additions and 2 deletions
|
@ -4530,9 +4530,9 @@ void handle_se35(DDukeActor *actor, int SMALLSMOKE, int EXPLOSION2)
|
|||
break;
|
||||
case 1:
|
||||
sc->addceilingz(-targetval * 4);
|
||||
if (sc->int_ceilingz() < actor->temp_data[4])
|
||||
if (sc->ceilingz < actor->temp_pos.Y)
|
||||
{
|
||||
sc->set_int_ceilingz(actor->temp_data[4]);
|
||||
sc->setceilingz(actor->temp_pos.Y);
|
||||
actor->temp_data[0] = 0;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue