mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Fix some code porting discrepancies
This commit is contained in:
parent
f0febf526b
commit
00983174a5
19 changed files with 41 additions and 41 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue