diff options
| author | megamage <none@none> | 2009-08-20 16:33:34 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-08-20 16:33:34 -0500 |
| commit | f972a069359091091ddc6167e446dc5cd65e702f (patch) | |
| tree | bfa91d02befc3e32f57d2e6e1e97caa903415c50 /src/bindings/scripts | |
| parent | 5bde26a6a9d5dd6e5f7de2750fc6672cd4c5a11d (diff) | |
*Do not allow to build vehicles when workshop is destroyed.
--HG--
branch : trunk
Diffstat (limited to 'src/bindings/scripts')
| -rw-r--r-- | src/bindings/scripts/scripts/northrend/wintergrasp.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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) |
