Fixed weaponalpha from changing weapon's rendermode before spawn which caused display problems.

This commit is contained in:
Greyscale
2009-05-18 23:14:18 -07:00
parent 0b3524e8df
commit d466ab8b24
4 changed files with 71 additions and 6 deletions

View File

@ -174,6 +174,26 @@ WeaponsOnClientDisconnect(client)
WeaponAlphaOnClientDisconnect(client);
}
/**
* The round is starting.
*/
WeaponsOnRoundStart()
{
// Forward event to sub-modules
WeaponAlphaOnRoundStart();
}
/**
* The round is ending.
*
* @param reason Reason the round has ended.
*/
WeaponsOnRoundEnd()
{
// Forward event to sub-modules
WeaponAlphaOnRoundEnd();
}
/**
* Creates an array of all listed weapons in weapons.txt.
* @param arrayWeapons The handle of the array, don't forget to call CloseHandle