From ef0076cc0419b9062eb9bc8de0be5c00ea9f995a Mon Sep 17 00:00:00 2001 From: Inkfish Date: Sun, 28 Jun 2009 10:28:48 +0000 Subject: fixed some typos on autobonus git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13916 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 2 +- src/map/status.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/map/pc.c b/src/map/pc.c index a378e0bfe..7b9a0dd4e 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1630,7 +1630,7 @@ int pc_delautobonus(struct map_session_data* sd, struct s_autobonus *autobonus,c if( restore && sd->state.autobonus&autobonus[i].pos ) { - if( autobonus[i].active != INVALID_TIMER ) + if( autobonus[i].active != INVALID_TIMER && autobonus[i].bonus_script ) run_script(autobonus[i].bonus_script,0,sd->bl.id,0); continue; } diff --git a/src/map/status.c b/src/map/status.c index 6a3acd8cf..eb480bc2c 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5913,7 +5913,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val //case ????: //Place here SCs that have no SCB_* data, no skill associated, no ICON //associated, and yet are not wrong/unknown. [Skotlex] - break; + //break; case SC_MERC_FLEEUP: case SC_MERC_ATKUP: -- cgit v1.2.3-70-g09d2