mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-18 03:01:29 +00:00
Changed some stuff to keep it consistent with old behavior: was seeing crashes related to ptimers on peq.
This commit is contained in:
parent
2ee8e17ac0
commit
adf42c8750
@ -347,7 +347,7 @@ bool PTimerList::Load(Database *db) {
|
|||||||
//if it expired allready, dont bother.
|
//if it expired allready, dont bother.
|
||||||
|
|
||||||
cur = new PersistentTimer(_char_id, type, start_time, timer_time, enabled);
|
cur = new PersistentTimer(_char_id, type, start_time, timer_time, enabled);
|
||||||
if(!cur->Expired(NULL, false))
|
if(!cur->Expired(NULL))
|
||||||
_list[type] = cur;
|
_list[type] = cur;
|
||||||
else
|
else
|
||||||
delete cur;
|
delete cur;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user