summaryrefslogtreecommitdiff
path: root/src/map/mercenary.c
diff options
context:
space:
mode:
authormomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-09 00:26:36 +0000
committermomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-09 00:26:36 +0000
commitbfb15e68b763800587fa57727fc4baaa0e5e2800 (patch)
treecc8f52cc370b811d5662c6c69fcabb1c94a1207f /src/map/mercenary.c
parent9c8991447ced838c88037dbbf76cf04a970e25dd (diff)
downloadhercules-bfb15e68b763800587fa57727fc4baaa0e5e2800.tar.gz
hercules-bfb15e68b763800587fa57727fc4baaa0e5e2800.tar.bz2
hercules-bfb15e68b763800587fa57727fc4baaa0e5e2800.tar.xz
hercules-bfb15e68b763800587fa57727fc4baaa0e5e2800.zip
- Removed backup.pl (for TXT servers) and vs9-to-vs8.php (outdated versions);
- Merged @killmonster2 with @killmonster tid:73632; - Fixed bugreport:6764, auction code was misplaced; - Follow up to r16753 (bugreport:6523), fixed bugreport:6673, using Gravitational Field with Safety Wall would keep the character immobilized. Blame myself, thankyou Lunar for the fix; - Fixed bugreport:6514, @slaveclone wouldn't be targeted by monster. Thanks to zippy; - Fixed bugreport:6837, some code was duplicated; - Fixed bugreport:6768, removed some leftovers from TXT removal; - Fixed bugreport:6868, Unequipping a weapon with Incantation Samurai card will not kill you if you have less than 999 hp and are on a non-pvp map; - Fixed wrong bit field on ai field in mob_data structure. Credits to Ind. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16881 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r--src/map/mercenary.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index 45e8e04ce..832cc835b 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -344,14 +344,6 @@ int merc_data_received(struct s_mercenary *merc, bool flag)
return 1;
}
-void mercenary_damage(struct mercenary_data *md, int hp, int sp)
-{
- if( hp )
- clif_mercenary_updatestatus(md->master, SP_HP);
- if( sp )
- clif_mercenary_updatestatus(md->master, SP_SP);
-}
-
void mercenary_heal(struct mercenary_data *md, int hp, int sp)
{
if( hp )
@@ -360,7 +352,7 @@ void mercenary_heal(struct mercenary_data *md, int hp, int sp)
clif_mercenary_updatestatus(md->master, SP_SP);
}
-int mercenary_dead(struct mercenary_data *md, struct block_list *src)
+int mercenary_dead(struct mercenary_data *md)
{
merc_delete(md, 1);
return 0;