- SW: use a dynamic array to track already visited sectors in TraverseBreakableWalls.

This commit is contained in:
Christoph Oelckers 2021-11-11 00:40:30 +01:00
parent cc16c02baa
commit a79f7a3784
3 changed files with 19 additions and 14 deletions

View file

@ -24,6 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "gamestruct.h"
#include "intvec.h"
TArray<int> GlobalSectorList; //This is a shared list. Every client must leave it in the same state as it was when it started.
//---------------------------------------------------------------------------
//

View file

@ -4,6 +4,8 @@
#include "binaryangle.h"
#include "build.h"
extern TArray<int> GlobalSectorList;
extern int cameradist, cameraclock;
void loaddefinitionsfile(const char* fn, bool cumulative = false, bool maingrp = false);