Merge branch 'master' of github.com:TrinityCore/TrinityCore

This commit is contained in:
Gacko committed 2014-05-11 12:37:29 +02:00
commit 39410b35a4
20 files changed
+3647 -2447

No files matched your search

@@ -526,7 +526,7 @@ void GameObject::Update(uint32 diff)
{
case GAMEOBJECT_TYPE_DOOR:
case GAMEOBJECT_TYPE_BUTTON:
if (GetGOInfo()->GetAutoCloseTime() && (m_cooldownTime < time(NULL)))
if (m_cooldownTime && (m_cooldownTime < time(NULL)))
ResetDoorOrButton();
break;
case GAMEOBJECT_TYPE_GOOBER: