mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
Fix external .lmp loading
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user