summaryrefslogtreecommitdiff
path: root/src/map/mercenary.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-02-14 01:20:42 -0200
committershennetsind <ind@henn.et>2014-02-14 01:20:42 -0200
commitdf611eb4055fb8478be277243d0734af66173d99 (patch)
treed9679e1e9e174af8c4157e316e77adff5a752952 /src/map/mercenary.c
parent6f264513874c80b912f47dbad1ec0347c67534e7 (diff)
downloadhercules-df611eb4055fb8478be277243d0734af66173d99.tar.gz
hercules-df611eb4055fb8478be277243d0734af66173d99.tar.bz2
hercules-df611eb4055fb8478be277243d0734af66173d99.tar.xz
hercules-df611eb4055fb8478be277243d0734af66173d99.zip
sc sources
Signed-off-by: shennetsind <ind@henn.et>
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;
}