From 6d740d4ab16bc5797c07f5fc9e450adcf3d74749 Mon Sep 17 00:00:00 2001 From: devovh Date: Wed, 30 Nov 2016 19:01:43 +0100 Subject: Core/SmartScripts: Fix Deadmines door lever not opening door. (#269) --- src/game/AI/SmartScripts/SmartScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/AI/SmartScripts/SmartScript.cpp') 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()); -- cgit v1.2.3