mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- sector splitting hack for SW $bath.map.
This commit is contained in:
parent
572f45ca53
commit
8aed9063f8
4 changed files with 11 additions and 0 deletions
|
@ -360,6 +360,8 @@ static int32_t LoadMapHack(const char *filename)
|
|||
|
||||
void G_LoadMapHack(const char* filename, const unsigned char* md4)
|
||||
{
|
||||
hw_ClearSplitSector();
|
||||
|
||||
for (auto& p : blockingpairs) p.Clear();
|
||||
FString internal = "engine/compatibility/";
|
||||
for (int j = 0; j < 16; ++j)
|
||||
|
|
|
@ -219,3 +219,8 @@ void hw_SetSplitSector(int sectnum, int start, int end)
|
|||
splits.Push(start);
|
||||
splits.Push(end);
|
||||
}
|
||||
|
||||
void hw_ClearSplitSector()
|
||||
{
|
||||
splits.Clear();
|
||||
}
|
||||
|
|
|
@ -30,3 +30,4 @@ extern int numsectionlines;
|
|||
|
||||
void hw_BuildSections();
|
||||
void hw_SetSplitSector(int sector, int startpos, int endpos);
|
||||
void hw_ClearSplitSector();
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
// SW $bath.ap sector bleeds into another area.
|
||||
sector 198 split 1105 1125
|
||||
|
Loading…
Reference in a new issue