Hooked autobuy/rebuy, added fog to visual effects, create effect functions in visualeffects.inc, fixed ambience, hooked mp_restartgame, mother count is rounded to nearest instead of ceiling, recoded cvars.inc and added logging, recoded event.inc, killed respawn timers on round end.
This commit is contained in:
@ -122,7 +122,7 @@ AmbientSoundsOnRoundStart()
|
||||
*
|
||||
* @param client The client index.
|
||||
*/
|
||||
AmbientSoundsOnClientSpawnPost(client)
|
||||
AmbientSoundsOnClientSpawn(client)
|
||||
{
|
||||
// If ambience is disabled, then stop.
|
||||
if (!g_bAmbientSounds)
|
||||
|
@ -69,20 +69,10 @@ SEffectsOnRoundStart()
|
||||
SEffectsOnClientSpawn(client)
|
||||
{
|
||||
// Forward event to sub-modules.
|
||||
//AmbientSoundsOnClientSpawn(client);
|
||||
AmbientSoundsOnClientSpawn(client);
|
||||
ZombieSoundsOnClientSpawn(client);
|
||||
}
|
||||
|
||||
/**
|
||||
* Fired one frame after client spawns into the game.
|
||||
*
|
||||
* @param client The client index.
|
||||
*/
|
||||
SEffectsOnClientSpawnPost(client)
|
||||
{
|
||||
AmbientSoundsOnClientSpawnPost(client);
|
||||
}
|
||||
|
||||
/**
|
||||
* Client has been killed.
|
||||
*
|
||||
|
Reference in New Issue
Block a user