Remove entity lump manipulation from OnLevelInit

Newer Source engine versions now use a dynamically allocated buffer for
the map entity lump, and some maps have over 16MB of entity data - far
larger than our 2MB limit.

There is no sane way we can currently handle this, so just remove the
functionality from the forward until a more comprehensive API can be
designed.

Fixes #1470
This commit is contained in:
Asher Baker
2021-07-17 20:52:51 +01:00
parent 54364d213d
commit 70c9a6528a
3 changed files with 5 additions and 29 deletions
-1
View File
@@ -270,7 +270,6 @@ public:
#ifdef GAMEDESC_CAN_CHANGE
const char *Hook_GetGameDescription();
#endif
const char *Hook_GetMapEntitiesString();
bool Hook_LevelInit(char const *pMapName, char const *pMapEntities, char const *pOldLevel, char const *pLandmarkName, bool loadGame, bool background);
/**