mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Compiling fixes.
This commit is contained in:
parent
ba2fe378fb
commit
26f34d1038
2 changed files with 3 additions and 2 deletions
|
@ -1798,9 +1798,9 @@ static mobj_t *SearchMarioNode(msecnode_t *node)
|
|||
|
||||
void T_MarioBlockChecker(levelspecthink_t *block)
|
||||
{
|
||||
line_t *masterline = block->sourceline;
|
||||
if (block->sector->floorspeed) // Don't update the textures when the block's being bumped upwards.
|
||||
return;
|
||||
line_t *masterline = block->sourceline;
|
||||
if (SearchMarioNode(block->sector->touching_thinglist))
|
||||
{
|
||||
sides[masterline->sidenum[0]].midtexture = sides[masterline->sidenum[0]].bottomtexture; // Update textures
|
||||
|
|
|
@ -3676,6 +3676,7 @@ DoneSection2:
|
|||
{
|
||||
angle_t lineangle;
|
||||
fixed_t linespeed;
|
||||
fixed_t sfxnum;
|
||||
|
||||
lineangle = R_PointToAngle2(lines[i].v1->x, lines[i].v1->y, lines[i].v2->x, lines[i].v2->y);
|
||||
linespeed = sides[lines[i].sidenum[0]].textureoffset;
|
||||
|
@ -3724,7 +3725,7 @@ DoneSection2:
|
|||
|
||||
player->powers[pw_flashing] = TICRATE/3;
|
||||
|
||||
fixed_t sfxnum = sides[lines[i].sidenum[0]].toptexture;
|
||||
sfxnum = sides[lines[i].sidenum[0]].toptexture;
|
||||
|
||||
if (!sfxnum)
|
||||
sfxnum = sfx_spdpad;
|
||||
|
|
Loading…
Reference in a new issue