summaryrefslogtreecommitdiff
path: root/src/map/pc.c
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/map/pc.c
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/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 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;
}