mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 11:21:11 +00:00
Fix rising FOF speed
This commit is contained in:
parent
c702e697b6
commit
863ac48c9b
2 changed files with 2 additions and 2 deletions
|
@ -3035,7 +3035,7 @@ static void P_ConvertBinaryMap(void)
|
||||||
lines[i].args[3] |= TMFA_NOSHADE;
|
lines[i].args[3] |= TMFA_NOSHADE;
|
||||||
|
|
||||||
//Speed
|
//Speed
|
||||||
lines[i].args[4] = FixedDiv(P_AproxDistance(lines[i].dx, lines[i].dy), 4*FRACUNIT) >> FRACBITS;
|
lines[i].args[4] = P_AproxDistance(lines[i].dx, lines[i].dy) >> FRACBITS;
|
||||||
|
|
||||||
//Flags
|
//Flags
|
||||||
if (lines[i].flags & ML_BLOCKMONSTERS)
|
if (lines[i].flags & ML_BLOCKMONSTERS)
|
||||||
|
|
|
@ -6038,7 +6038,7 @@ static void P_AddRaiseThinker(sector_t *sec, line_t *sourceline, fixed_t speed,
|
||||||
raise->ceilingtop = ceilingtop;
|
raise->ceilingtop = ceilingtop;
|
||||||
raise->ceilingbottom = ceilingbottom;
|
raise->ceilingbottom = ceilingbottom;
|
||||||
|
|
||||||
raise->basespeed = speed;
|
raise->basespeed = speed >> 2;
|
||||||
|
|
||||||
if (lower)
|
if (lower)
|
||||||
raise->flags |= RF_REVERSE;
|
raise->flags |= RF_REVERSE;
|
||||||
|
|
Loading…
Reference in a new issue