summaryrefslogtreecommitdiff
path: root/src/game/AI/SmartScripts/SmartScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/AI/SmartScripts/SmartScript.cpp')
-rw-r--r--src/game/AI/SmartScripts/SmartScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/AI/SmartScripts/SmartScript.cpp b/src/game/AI/SmartScripts/SmartScript.cpp
index 1bd940da3c..99a410f18a 100644
--- a/src/game/AI/SmartScripts/SmartScript.cpp
+++ b/src/game/AI/SmartScripts/SmartScript.cpp
@@ -619,7 +619,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
{
// Activate
// xinef: wtf is this shit?
- //(*itr)->ToGameObject()->SetLootState(GO_READY);
+ (*itr)->ToGameObject()->SetLootState(GO_READY);
(*itr)->ToGameObject()->UseDoorOrButton(0, e.action.activateObject.alternative ? true : false, unit);
;//sLog->outDebug(LOG_FILTER_DATABASE_AI, "SmartScript::ProcessAction:: SMART_ACTION_ACTIVATE_GOBJECT. Gameobject %u (entry: %u) activated",
// (*itr)->GetGUIDLow(), (*itr)->GetEntry());