diff options
author | devovh <devovh@gmail.com> | 2016-11-30 19:01:43 +0100 |
---|---|---|
committer | Francesco Borzì <borzifrancesco@gmail.com> | 2016-11-30 19:01:43 +0100 |
commit | 6d740d4ab16bc5797c07f5fc9e450adcf3d74749 (patch) | |
tree | a17d5d84f7627458753752e76c9c8732867d65ce /src/game/AI/SmartScripts/SmartScript.cpp | |
parent | dc8f05ec93e3f69fc0eecda7f4695ffa767bca5c (diff) |
Core/SmartScripts: Fix Deadmines door lever not opening door. (#269)
Diffstat (limited to 'src/game/AI/SmartScripts/SmartScript.cpp')
-rw-r--r-- | src/game/AI/SmartScripts/SmartScript.cpp | 2 |
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()); |