- unlimited blockingpairs

This commit is contained in:
Christoph Oelckers 2021-11-21 00:25:22 +01:00
parent 1665e340be
commit b30be9bc12
2 changed files with 8 additions and 5 deletions

View file

@ -45,8 +45,7 @@
#include "gamecontrol.h"
#include "hw_sections.h"
extern TArray<int> blockingpairs[MAXWALLS];
extern TArray<TArray<int>> blockingpairs;
//==========================================================================
//
//
@ -301,7 +300,7 @@ void BunchDrawer::ProcessBunch(int bnch)
int ww = sectionLines[i].wall;
if (ww != -1)
{
for (auto p : blockingpairs[ww]) blockwall.Set(sectionLines[p].wall);
if (blockingpairs.Size() > 0) for (auto p : blockingpairs[ww]) blockwall.Set(sectionLines[p].wall);
show2dwall.Set(ww);
if (!gotwall[i])