mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Fix mirror updates in Shadow Warrior
This commit is contained in:
parent
8e070343c5
commit
6e1554d7ae
1 changed files with 4 additions and 1 deletions
|
@ -1376,7 +1376,10 @@ void UpdateWallPortalState()
|
|||
// This is too obtuse to be maintained statically, but with 8 mirrors at most easy to be kept up to date.
|
||||
for (int i = 0; i < MAXMIRRORS; i++)
|
||||
{
|
||||
auto wal = &wall[mirror[i].mirrorwall];
|
||||
if (mirror[i].mirrorwall < 0) {
|
||||
continue;
|
||||
}
|
||||
walltype* wal = &wall[mirror[i].mirrorwall];
|
||||
wal->portalflags = 0;
|
||||
wal->portalnum = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue