Instance boundary follow-up:

- Stop tools from complaining about leaks.
- Also, list -> vector.
- Fix an ambiguous constructor warning.
- Fix a bug with Gormok and Sindragosa (Fixes #16280).
This commit is contained in:
treeston
2016-01-14 20:51:35 +01:00
parent 82c0a074b4
commit b945d01ee5
7 changed files with 37 additions and 11 deletions

View File

@@ -30,6 +30,12 @@
#include "WorldSession.h"
#include "Opcodes.h"
BossBoundaryData::~BossBoundaryData()
{
for (const_iterator it = begin(); it != end(); ++it)
delete it->boundary;
}
void InstanceScript::SaveToDB()
{
std::string data = GetSaveData();