summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-18 13:49:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-18 13:49:24 +0000
commita2b971ef0af9491bdbd93e07e600a69df97a46a1 (patch)
treedcc1210cb9863ebf921cf93bfe33bc08e0cf842a /src/map/pet.c
parenteb5b93986c7ade4100da3d1bcaf07c9f2b7824e4 (diff)
downloadhercules-a2b971ef0af9491bdbd93e07e600a69df97a46a1.tar.gz
hercules-a2b971ef0af9491bdbd93e07e600a69df97a46a1.tar.bz2
hercules-a2b971ef0af9491bdbd93e07e600a69df97a46a1.tar.xz
hercules-a2b971ef0af9491bdbd93e07e600a69df97a46a1.zip
- Changed unit_free so that it receives which cleartype should be used when the character is still on a map. Used this on status_damage so that mobs that do not respawn when killed will properly display the death animation.
- Should have fixed the signed/unsigned comparison warnings in the main regen function. - Fixed Energy Coat consuming 10x less SP per hit than it should. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8339 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 68b0510e0..895ad5e89 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -364,7 +364,7 @@ static int pet_return_egg(struct map_session_data *sd, struct pet_data *pd)
pd->state.skillbonus = 0;
status_calc_pc(sd,0);
}
- unit_free(&pd->bl);
+ unit_free(&pd->bl,0);
sd->status.pet_id = 0;
return 1;