summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-02 03:38:56 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-02 03:38:56 +0000
commitd392d39696b55991621061838d36d40de63d80a3 (patch)
tree8668eb720923a248a65698af8c3d9382dc897c30
parent36d63937539d16e61ef44968ebe0610956b69dfa (diff)
downloadhercules-d392d39696b55991621061838d36d40de63d80a3.tar.gz
hercules-d392d39696b55991621061838d36d40de63d80a3.tar.bz2
hercules-d392d39696b55991621061838d36d40de63d80a3.tar.xz
hercules-d392d39696b55991621061838d36d40de63d80a3.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6927 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/clif.c2
-rw-r--r--src/map/mob.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index fde947661..b6a9f38f5 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7835,7 +7835,7 @@ int clif_charnameack (int fd, struct block_list *bl)
} else if (battle_config.show_mob_hp) {
char mobhp[50];
WBUFW(buf, 0) = cmd = 0x195;
- sprintf(mobhp, "HP: %d/%d", md->status.hp, md->status.max_hp);
+ sprintf(mobhp, "HP: %u/%u", md->status.hp, md->status.max_hp);
//Even thought mobhp ain't a name, we send it as one so the client
//can parse it.
memcpy(WBUFP(buf,30), mobhp, NAME_LENGTH);
diff --git a/src/map/mob.c b/src/map/mob.c
index c7096fb86..f1a4f9f82 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1331,7 +1331,7 @@ static int mob_ai_sub_lazy(DBKey key,void * data,va_list app)
md->last_thinktime=tick;
- if (md->bl.prev==NULL || md->base_status->hp == 0)
+ if (md->bl.prev==NULL || md->status.hp == 0)
return 1;
// 取り巻きモンスターの処理(呼び戻しされた時)