aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-31 23:01:38 -0500
committermegamage <none@none>2009-08-31 23:01:38 -0500
commit83ea85f9e46bbda023fb5d540c08faa10fc980ed (patch)
tree6a01796950b5ca2d531cd79e55a8e187631da859
parent90b4d81819ca14dfcdf5fb94c7b982cfb35a8a88 (diff)
*Fix a typo that makes buildings in wintergrasp can never be destroyed and titan relic cannot be clicked.
--HG-- branch : trunk
-rw-r--r--src/game/GameObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp
index 8ca1b97ae2b..10ed4af509e 100644
--- a/src/game/GameObject.cpp
+++ b/src/game/GameObject.cpp
@@ -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);
}
}
}