mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-01 14:10:54 +00:00
Check the correct backside for textures, then go back to front textures.
This commit is contained in:
parent
cd85240ec3
commit
81b1526c2c
1 changed files with 4 additions and 2 deletions
|
@ -2906,8 +2906,8 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
|
|||
if (always || this->bottomtexture) this->bottomtexture = set->bottomtexture;
|
||||
}
|
||||
|
||||
if (line->args[3] && lines[linenum].sidenum[1] != 0xffff)
|
||||
set = &sides[line->sidenum[1]]; // Use back side textures
|
||||
if (line->args[3] && line->sidenum[1] != 0xffff)
|
||||
set = &sides[line->sidenum[1]]; // Use back side textures for target's back side
|
||||
|
||||
// Back side
|
||||
if (line->args[1] != TMSD_FRONT && lines[linenum].sidenum[1] != 0xffff)
|
||||
|
@ -2917,6 +2917,8 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
|
|||
if (always || this->midtexture) this->midtexture = set->midtexture;
|
||||
if (always || this->bottomtexture) this->bottomtexture = set->bottomtexture;
|
||||
}
|
||||
|
||||
set = &sides[line->sidenum[0]]; // Go back to front side textures
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue