mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- fixed texture selection for one-sided walls with the one-way flag set.
This commit is contained in:
parent
18cf208b7d
commit
389d61d086
1 changed files with 1 additions and 1 deletions
|
@ -967,7 +967,7 @@ void HWWall::Process(HWDrawInfo* di, walltype* wal, sectortype* frontsector, sec
|
|||
|
||||
// normal texture
|
||||
|
||||
int tilenum = (wal->cstat & CSTAT_WALL_1WAY) ? wal->overpicnum : wal->picnum;
|
||||
int tilenum = ((wal->cstat & CSTAT_WALL_1WAY) && wal->nextwall != -1) ? wal->overpicnum : wal->picnum;
|
||||
setgotpic(tilenum);
|
||||
tileUpdatePicnum(&tilenum, int(wal-wall) + 16384, wal->cstat);
|
||||
texture = tileGetTexture(tilenum);
|
||||
|
|
Loading…
Reference in a new issue