mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- fixed: Ceiling_LowerByValue(Times8) were missing the 'crush' parameter.
- fixed typo in 5 minute door sector type (it used FRACUNIT instead of TICRATE.)
This commit is contained in:
parent
7b5a77a8d8
commit
316389c7f9
2 changed files with 5 additions and 5 deletions
|
@ -622,19 +622,19 @@ FUNC(LS_Pillar_Open)
|
||||||
}
|
}
|
||||||
|
|
||||||
FUNC(LS_Ceiling_LowerByValue)
|
FUNC(LS_Ceiling_LowerByValue)
|
||||||
// Ceiling_LowerByValue (tag, speed, height, change)
|
// Ceiling_LowerByValue (tag, speed, height, change, crush)
|
||||||
{
|
{
|
||||||
return EV_DoCeiling (DCeiling::ceilLowerByValue, ln, arg0, SPEED(arg1), 0, arg2*FRACUNIT, -1, 0, CHANGE(arg3), false);
|
return EV_DoCeiling (DCeiling::ceilLowerByValue, ln, arg0, SPEED(arg1), 0, arg2*FRACUNIT, CRUSH(arg4), 0, CHANGE(arg3), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
FUNC(LS_Ceiling_RaiseByValue)
|
FUNC(LS_Ceiling_RaiseByValue)
|
||||||
// Ceiling_RaiseByValue (tag, speed, height, change)
|
// Ceiling_RaiseByValue (tag, speed, height, change)
|
||||||
{
|
{
|
||||||
return EV_DoCeiling (DCeiling::ceilRaiseByValue, ln, arg0, SPEED(arg1), 0, arg2*FRACUNIT, -1, 0, CHANGE(arg3), false);
|
return EV_DoCeiling (DCeiling::ceilRaiseByValue, ln, arg0, SPEED(arg1), 0, arg2*FRACUNIT, CRUSH(arg4), 0, CHANGE(arg3), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
FUNC(LS_Ceiling_LowerByValueTimes8)
|
FUNC(LS_Ceiling_LowerByValueTimes8)
|
||||||
// Ceiling_LowerByValueTimes8 (tag, speed, height, change)
|
// Ceiling_LowerByValueTimes8 (tag, speed, height, change, crush)
|
||||||
{
|
{
|
||||||
return EV_DoCeiling (DCeiling::ceilLowerByValue, ln, arg0, SPEED(arg1), 0, arg2*FRACUNIT*8, -1, 0, CHANGE(arg3), false);
|
return EV_DoCeiling (DCeiling::ceilLowerByValue, ln, arg0, SPEED(arg1), 0, arg2*FRACUNIT*8, -1, 0, CHANGE(arg3), false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1193,7 +1193,7 @@ void P_InitSectorSpecial(sector_t *sector, int special, bool nothinkers)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case dSector_DoorRaiseIn5Mins:
|
case dSector_DoorRaiseIn5Mins:
|
||||||
new DDoor (sector, DDoor::doorWaitRaise, 2*FRACUNIT, TICRATE*30/7, 5*60*FRACUNIT, 0);
|
new DDoor (sector, DDoor::doorWaitRaise, 2*FRACUNIT, TICRATE*30/7, 5*60*TICRATE, 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case dFriction_Low:
|
case dFriction_Low:
|
||||||
|
|
Loading…
Reference in a new issue