From f972a069359091091ddc6167e446dc5cd65e702f Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 20 Aug 2009 16:33:34 -0500 Subject: *Do not allow to build vehicles when workshop is destroyed. --HG-- branch : trunk --- src/bindings/scripts/scripts/northrend/wintergrasp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/bindings/scripts') diff --git a/src/bindings/scripts/scripts/northrend/wintergrasp.cpp b/src/bindings/scripts/scripts/northrend/wintergrasp.cpp index 81f45738e4f..133138630b0 100644 --- a/src/bindings/scripts/scripts/northrend/wintergrasp.cpp +++ b/src/bindings/scripts/scripts/northrend/wintergrasp.cpp @@ -20,7 +20,10 @@ struct TRINITY_DLL_DECL npc_demolisher_engineererAI : public ScriptedAI { - npc_demolisher_engineererAI(Creature* pCreature) : ScriptedAI(pCreature) {} + npc_demolisher_engineererAI(Creature* pCreature) : ScriptedAI(pCreature) + { + me->SetReactState(REACT_PASSIVE); + } /* void JustDied(Unit *killer) -- cgit v1.2.3