Core/Gameobject: Added missing break in 24ef7dbdf4

This commit is contained in:
Vincent-Michael
2014-05-05 10:06:44 +02:00
parent 99e04ddaf6
commit b6bf83589c
@@ -480,7 +480,9 @@ void GameObject::Update(uint32 diff)
// Battleground gameobjects have data2 == 0 && data5 == 3
isBattlegroundTrap = true;
radius = 3.f;
} else {
}
else
{
isBattlegroundTrap = false;
radius = goInfo->trap.diameter / 2.f;
}
@@ -573,6 +575,7 @@ void GameObject::Update(uint32 diff)
}
else m_groupLootTimer -= diff;
}
break;
case GAMEOBJECT_TYPE_TRAP:
{
GameObjectTemplate const* goInfo = GetGOInfo();