Fix some code porting discrepancies

This commit is contained in:
Antz 2016-09-16 11:12:41 +01:00 committed by Antz
parent f0febf526b
commit 00983174a5
19 changed files with 41 additions and 41 deletions

View file

@ -62,7 +62,7 @@ Map::~Map()
sScriptMgr.DecreaseScheduledScriptCount(m_scriptSchedule.size());
if (m_persistentState)
m_persistentState->SetUsedByMapState(nullptr); // field pointer can be deleted after this
m_persistentState->SetUsedByMapState(NULL); // field pointer can be deleted after this
delete i_data;
i_data = nullptr;