From dd0cb3c57ad80187ae97467aed36a3718e2629ec Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 13 Jan 2008 03:08:36 +0000 Subject: - Fixed a possible ers_entry corruption if you die from bleeding while under the effects of kaizel. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12063 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/status.c b/src/map/status.c index 0b1312586..06741b587 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; -- cgit v1.2.3-70-g09d2