git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6927 54d463be-8e91-2dee-dedb-b68131a5f0ec

This commit is contained in:
Lance 2006-06-02 03:38:56 +00:00
parent e06f6f83cd
commit f86847888e
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;
// 取り巻きモンスターの処理(呼び戻しされた時)