mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- unlimited blockingpairs
This commit is contained in:
parent
1665e340be
commit
b30be9bc12
2 changed files with 8 additions and 5 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue