diff --git a/changelog.txt b/changelog.txt index 8c504a5b7..a17b7ea64 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50) ------------------------------------------------------- == 02/09/2014 == Sorvani: Added new spawn condition onchange action: DoRepopIfReady. Choosing this will not repop mobs when the spawn condition is enabled if they have an existing respawn timer. Additionally, this condition will not even attempt repop when the condition is is changed to disabled. Will be in use on PEQ for: Cragbeast Queen in Natimbi. +Secrets: Fixed a weird crash issue with deletion of pointers if task loading fails. == 02/2/2014 == Kayen: Revised how spell/dot damage is calculated to properly incorporated all current focus effects/bonuses. diff --git a/zone/tasks.cpp b/zone/tasks.cpp index eb1d06ace..44d4e1e69 100644 --- a/zone/tasks.cpp +++ b/zone/tasks.cpp @@ -585,7 +585,6 @@ bool TaskManager::LoadClientState(Client *c, ClientTaskState *state) { else { LogFile->write(EQEMuLog::Error, ERR_MYSQLERROR1, errbuf); safe_delete_array(query); - safe_delete(state); return false; } @@ -659,7 +658,6 @@ bool TaskManager::LoadClientState(Client *c, ClientTaskState *state) { else { LogFile->write(EQEMuLog::Error, ERR_MYSQLERROR2, errbuf); safe_delete_array(query); - safe_delete(state); return false; } @@ -738,7 +736,6 @@ bool TaskManager::LoadClientState(Client *c, ClientTaskState *state) { else { LogFile->write(EQEMuLog::Error, ERR_MYSQLERROR3, errbuf); safe_delete_array(query); - safe_delete(state); return false; } }