- removed the workaround to make Lunatic Fringe not glitch.

This commit is contained in:
Christoph Oelckers 2021-12-20 15:47:26 +01:00
parent c141c89cfd
commit 756ed1c14b
5 changed files with 0 additions and 31 deletions

View file

@ -41,7 +41,6 @@
#include "mapinfo.h"
static TArray<usermaphack_t> usermaphacks;
TArray<TArray<int>> blockingpairs;
void AddUserMapHack(usermaphack_t& mhk)
{
@ -143,17 +142,6 @@ static int32_t LoadMapHack(const char *filename, SpawnSpriteDef& sprites)
}
else currentsector = -1;
}
else if (sc.Compare("blocks"))
{
if (sc.CheckNumber() && validateWall())
{
if (blockingpairs.Size() < (unsigned)numwalls)
{
blockingpairs.Resize(numwalls);
}
blockingpairs[currentwall].Push(sc.Number);
}
}
else if (sc.Compare("sector"))
{
if (sc.CheckNumber())
@ -383,7 +371,6 @@ static int32_t LoadMapHack(const char *filename, SpawnSpriteDef& sprites)
void loadMapHack(const char* filename, const unsigned char* md4, SpawnSpriteDef& sprites)
{
hw_ClearSplitSector();
blockingpairs.Reset();
FString internal = "engine/compatibility/";
for (int j = 0; j < 16; ++j)