*Fix a typo that makes buildings in wintergrasp can never be destroyed and titan relic cannot be clicked.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-31 23:01:38 -05:00
parent 90b4d81819
commit 83ea85f9e4

View File

@@ -1476,7 +1476,7 @@ void GameObject::TakenDamage(uint32 damage)
SetFlag(GAMEOBJECT_FLAGS, GO_FLAG_DESTROYED);
SetUInt32Value(GAMEOBJECT_DISPLAYID, m_goInfo->building.destroyedDisplayId);
EventInform(m_goInfo->building.damagedEvent);
EventInform(m_goInfo->building.destroyedEvent);
}
}
else // from intact to damaged
@@ -1490,7 +1490,7 @@ void GameObject::TakenDamage(uint32 damage)
SetFlag(GAMEOBJECT_FLAGS, GO_FLAG_DAMAGED);
SetUInt32Value(GAMEOBJECT_DISPLAYID, m_goInfo->building.damagedDisplayId);
EventInform(m_goInfo->building.destroyedEvent);
EventInform(m_goInfo->building.damagedEvent);
}
}
}