mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Wintergrasp: Fix possible crash. Thanks RedSonja ;D
--HG-- branch : trunk
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user