mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
SW: Fix enough OOBs to get in-game
git-svn-id: https://svn.eduke32.com/eduke32@8295 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/sw/src/_functio.h # source/sw/src/config.cpp # source/sw/src/sector.cpp
This commit is contained in:
parent
41194f99f9
commit
92a699b7eb
1 changed files with 3 additions and 2 deletions
|
@ -197,8 +197,9 @@ WallSetup(void)
|
||||||
wall_num = wall[wall_num].point2)
|
wall_num = wall[wall_num].point2)
|
||||||
{
|
{
|
||||||
SET(wall[wall_num].extra, WALLFX_LOOP_DONT_SPIN);
|
SET(wall[wall_num].extra, WALLFX_LOOP_DONT_SPIN);
|
||||||
if (wall[wall_num].nextwall >= 0)
|
auto const nextwall = wall[wall_num].nextwall;
|
||||||
SET(wall[wall[wall_num].nextwall].extra, WALLFX_LOOP_DONT_SPIN);
|
if ((unsigned)nextwall < MAXSECTORS)
|
||||||
|
SET(wall[nextwall].extra, WALLFX_LOOP_DONT_SPIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue