mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-22 09:11:21 +00:00
Fix a small oversight
This commit is contained in:
parent
446e78b6e2
commit
299b2dcff2
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ INT32 EV_DoCeiling(mtag_t tag, line_t *line, ceiling_e type)
|
|||
ceiling->speed = INT32_MAX/2; // as above, "instant" is one tic
|
||||
else
|
||||
ceiling->speed = line->args[3] << (FRACBITS - 3);
|
||||
if (sides[line->sidenum[0]].rowoffset > 0)
|
||||
if (line->args[2] > 0)
|
||||
{
|
||||
ceiling->direction = 1; // up
|
||||
ceiling->topheight = sec->ceilingheight + (line->args[2] << FRACBITS);
|
||||
|
|
Loading…
Reference in a new issue