summaryrefslogtreecommitdiff
path: root/src/map/mercenary.c
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-02-19 17:10:57 -0300
committerpanikon <panikon@zoho.com>2014-02-19 17:10:57 -0300
commitc4a9dd3f2804b75c1d49b5ab58a3ba80ea4303c2 (patch)
tree53b779650a2821dc8bf2a9deb00d5a03890449fe /src/map/mercenary.c
parent58544d7f610261a903b3e843a795efd7571b2d56 (diff)
parentd0b9510cf0d7a47e53aa341462a1175326dfc09d (diff)
downloadhercules-c4a9dd3f2804b75c1d49b5ab58a3ba80ea4303c2.tar.gz
hercules-c4a9dd3f2804b75c1d49b5ab58a3ba80ea4303c2.tar.bz2
hercules-c4a9dd3f2804b75c1d49b5ab58a3ba80ea4303c2.tar.xz
hercules-c4a9dd3f2804b75c1d49b5ab58a3ba80ea4303c2.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r--src/map/mercenary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index 87e7d2f3c..495621014 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -360,7 +360,7 @@ int mercenary_killbonus(struct mercenary_data *md)
const enum sc_type scs[] = { SC_MER_FLEE, SC_MER_ATK, SC_MER_HP, SC_MER_SP, SC_MER_HIT };
int index = rnd() % ARRAYLENGTH(scs);
- sc_start(&md->bl, scs[index], 100, rnd() % 5, 600000);
+ sc_start(NULL,&md->bl, scs[index], 100, rnd() % 5, 600000);
return 0;
}