1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2026-10-10 11:53:05 +08:00

BMS EmitGameSound crash fix (#404)

* Added second bool value for CServerGameClients::ClientActive

I have no idea why it exists, doesn't seem to be used, Crowbar Collective...

* EmitSound Windows crash for Black Mesa

this was caused mainly by lack of vars bmp, signature, fadetime
here is some info https://developer.valvesoftware.com/wiki/Music_track
This commit is contained in:
MyGamepedia
2026-07-23 01:15:29 +03:00
committed by GitHub
parent 51cd3e7b0b
commit 69fe26fed5
4 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -2623,7 +2623,7 @@ bool CServerGameClients::ClientConnect( edict_t *pEdict, const char *pszName, co
// Purpose: Called when a player is fully active (i.e. ready to receive messages)
// Input : *pEntity - the player
//-----------------------------------------------------------------------------
void CServerGameClients::ClientActive( edict_t *pEdict, bool bLoadGame )
void CServerGameClients::ClientActive( edict_t *pEdict, bool bLoadGame, bool bUnknown)
{
MDLCACHE_CRITICAL_SECTION();