diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-21 08:23:38 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-21 08:23:38 +0000 |
commit | acba7fdde4f74b57c5d502c1b5b60b65fc5192d1 (patch) | |
tree | 0c0366dfc960f571da976f918065938083834104 /src/map/mob.c | |
parent | cf48a28cd318ad30a769de8dd3d1cc36ff504a8f (diff) | |
download | hercules-acba7fdde4f74b57c5d502c1b5b60b65fc5192d1.tar.gz hercules-acba7fdde4f74b57c5d502c1b5b60b65fc5192d1.tar.bz2 hercules-acba7fdde4f74b57c5d502c1b5b60b65fc5192d1.tar.xz hercules-acba7fdde4f74b57c5d502c1b5b60b65fc5192d1.zip |
* Updated Bleeding effect
* Removed some unused code for Graffiti
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1147 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 6b2e4e37a..74a1c5889 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2811,9 +2811,10 @@ int mob_class_change(struct mob_data *md,int *value) */ int mob_heal(struct mob_data *md,int heal) { - int max_hp = status_get_max_hp(&md->bl); + int max_hp; nullpo_retr(0, md); + max_hp = status_get_max_hp(&md->bl); md->hp += heal; if( max_hp < md->hp ) |