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:
Greyscale
2009-04-27 04:00:38 +02:00
parent 65411df2c0
commit abd38ee033
14 changed files with 738 additions and 301 deletions

View File

@ -122,7 +122,7 @@ AmbientSoundsOnRoundStart()
*
* @param client The client index.
*/
AmbientSoundsOnClientSpawnPost(client)
AmbientSoundsOnClientSpawn(client)
{
// If ambience is disabled, then stop.
if (!g_bAmbientSounds)

View File

@ -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.
*