Wintergrasp: Fix possible crash. Thanks RedSonja ;D

--HG--
branch : trunk
This commit is contained in:
tartalo
2009-10-24 21:50:11 +02:00
parent f95cf223dc
commit efb55aa12c

View File

@@ -746,6 +746,8 @@ void OPvPWintergrasp::BroadcastStateChange(BuildingState *state) const
// Called at Start and Battle End
bool OPvPWintergrasp::UpdateCreatureInfo(Creature *creature) const
{
if (!creature)
return false;
uint32 entry = creature->GetEntry();
switch(GetCreatureType(entry))
{