mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
- Duke: fixed mirror setup for new renderer.
A wall must be marked one-way to be used as a mirror.
This commit is contained in:
parent
de904d3052
commit
43981bff85
1 changed files with 1 additions and 1 deletions
|
@ -824,7 +824,7 @@ static void SpawnPortals()
|
|||
{
|
||||
for (int i = 0; i < numwalls; i++)
|
||||
{
|
||||
if (wall[i].overpicnum == TILE_MIRROR) wall[i].portalflags |= PORTAL_WALL_MIRROR;
|
||||
if (wall[i].overpicnum == TILE_MIRROR && (wall[i].cstat & CSTAT_WALL_1WAY)) wall[i].portalflags |= PORTAL_WALL_MIRROR;
|
||||
}
|
||||
|
||||
portalClear();
|
||||
|
|
Loading…
Reference in a new issue