diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 703495ec5c..150a192f86 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2008/01/13 + * Fixed a possible ers_entry corruption if you die from bleeding while + under the effects of kaizel. * Updated Safety wall so it does not blocks melee magic. [Skotlex] 2008/01/12 * Another possible fix to ers/status_change crashing. diff --git a/src/map/status.c b/src/map/status.c index 0b13125865..06741b587d 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6818,7 +6818,7 @@ int status_change_timer(int tid, unsigned int tick, int id, int data) case SC_BLEEDING: if (--(sce->val4) >= 0) { status_fix_damage(NULL, bl, rand()%600 + 200, 0); - if (status_isdead(bl)) + if (status_isdead(bl) || !sc->data[type]) //It is possible you revived from kaizel if killed. break; sc_timer_next(10000 + tick, status_change_timer, bl->id, data ); return 0;