BF/Wintergrasp: Restored functionality to OnCreatureCreate function, which was out of date.

This commit is contained in:
Manuel Carrasco
2012-08-20 13:36:36 -04:00
committed by Kandera
parent c580ec24a7
commit 82b49c7b84
3 changed files with 460 additions and 37 deletions
@@ -338,11 +338,16 @@ class BattlefieldWG : public Battlefield
bool Update(uint32 diff);
/**
* \brief Called when a creature is spawn or remove from WG
* \brief Called when a creature is created
* -Update vehicle count
* \param add : true > creature is spawn false > creature is remove
*/
void OnCreatureCreate(Creature *creature, bool add);
void OnCreatureCreate(Creature *creature);
/**
* \brief Called when a creature is removed
* -Update vehicle count
*/
void OnCreatureRemove(Creature* creature);
/**
* \brief Called when a wall/tower is broken