Fix external .lmp loading

This commit is contained in:
nillerusr
2022-02-11 11:00:57 +03:00
parent 9dd2d20e78
commit a1d8c59d01
2 changed files with 4 additions and 2 deletions

View File

@@ -483,7 +483,8 @@ void CMapLoadHelper::Init( model_t *pMapModel, const char *loadname )
s_pMap = &g_ModelLoader.m_worldBrushData;
#if 0
// nillerusr: Fuck you johns
// XXX(johns): There are security issues with this system currently. sv_pure doesn't handle unexpected/mismatched
// lumps, so players can create lumps for maps not using them to wallhack/etc.. Currently unused,
// disabling until we have time to make a proper security pass.
@@ -530,7 +531,6 @@ void CMapLoadHelper::Init( model_t *pMapModel, const char *loadname )
}
}
}
#endif
}
//-----------------------------------------------------------------------------