mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +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++)
|
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();
|
portalClear();
|
||||||
|
|
Loading…
Reference in a new issue