Added hitgroup API, and logging values for it. Knockback module is done.

This commit is contained in:
Greyscale
2009-04-15 03:24:02 +02:00
parent 648a875c14
commit e7ace94625
10 changed files with 236 additions and 40 deletions

View File

@ -50,7 +50,7 @@ WeaponsClearData()
/**
* Loads weapon data from file.
*/
WeaponsOnMapStart()
WeaponsLoad()
{
// Clear weapon data
WeaponsClearData();
@ -73,13 +73,13 @@ WeaponsOnMapStart()
}
// Validate weapons config
WeaponsValidateWeaponsConfig();
WeaponsValidateConfig();
// Forward event to sub-module
RestrictOnMapStart();
}
WeaponsValidateWeaponsConfig()
WeaponsValidateConfig()
{
// If log flag check fails, don't log
if (!LogFlagCheck(LOG_CORE_EVENTS, LOG_MODULE_WEAPONS))