summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-28 10:28:48 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-28 10:28:48 +0000
commitef0076cc0419b9062eb9bc8de0be5c00ea9f995a (patch)
tree1043af1fe3f30cb9cbcf69c98df2bf6c224869e5 /src
parentac6e0a8cd56eaa51dc7e6cd68020d0ea7e9b5d96 (diff)
downloadhercules-ef0076cc0419b9062eb9bc8de0be5c00ea9f995a.tar.gz
hercules-ef0076cc0419b9062eb9bc8de0be5c00ea9f995a.tar.bz2
hercules-ef0076cc0419b9062eb9bc8de0be5c00ea9f995a.tar.xz
hercules-ef0076cc0419b9062eb9bc8de0be5c00ea9f995a.zip
fixed some typos on autobonus
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13916 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c2
-rw-r--r--src/map/status.c2
2 files changed, 2 insertions, 2 deletions
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: