Compiling fixes.

This commit is contained in:
toasterbabe 2016-07-09 17:36:24 +01:00
parent ba2fe378fb
commit 26f34d1038
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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;