mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- missing null check in Blood's map loader.
This commit is contained in:
parent
5e09a43e91
commit
b4a968841a
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ void dbLoadMap(const char* pPath, int* pX, int* pY, int* pZ, short* pAngle, sect
|
|||
#if 1 // bad, bad hack, just for making Polymost happy...
|
||||
PolymostAllocFakeSector();
|
||||
#endif
|
||||
* pSector = §or[mapHeader.sect];
|
||||
* pSector = mapHeader.sect >= 0? §or[mapHeader.sect] : nullptr;
|
||||
|
||||
if (encrypted)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue