diff options
| author | Shauren <shauren.trinity@gmail.com> | 2011-02-14 21:54:21 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2011-02-14 21:54:21 +0100 |
| commit | 966d3d226682157a5a0a6d897620b2235e7808ac (patch) | |
| tree | 573b54af7665731cbecdcb3026692566dbf1220a /src | |
| parent | a8a5734bea7f9b7b0f810b111f8e054a73317bce (diff) | |
Scripts/Icecrown Citadel: Save saurfang trap state after completing the mini-event
Diffstat (limited to 'src')
| -rwxr-xr-x | src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp index 17728a9e2e3..a905fe0dd5f 100755 --- a/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp @@ -508,9 +508,12 @@ class instance_icecrown_citadel : public InstanceMapScript case DATA_COLDFLAME_JETS: coldflameJetsState = data; if (coldflameJetsState == DONE) + { + SaveToDB(); for (std::set<uint64>::iterator itr = coldflameJets.begin(); itr != coldflameJets.end(); ++itr) if (Creature* trap = instance->GetCreature(*itr)) trap->AI()->DoAction(ACTION_STOP_TRAPS); + } break; default: break; |
