From edd59a66d8bfc83e601343c6d841cfaf9e135319 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 11 Sep 2016 17:31:03 +0300 Subject: Send correct homunculus rename flag to client. (Fixes #1424) --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/clif.c b/src/map/clif.c index 183229f95..86a63f524 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -1515,7 +1515,7 @@ void clif_hominfo(struct map_session_data *sd, struct homun_data *hd, int flag) WBUFW(buf, 0) = cmd; memcpy(WBUFP(buf, 2), hd->homunculus.name, NAME_LENGTH); // Bit field, bit 0 : rename_flag (1 = already renamed), bit 1 : homunc vaporized (1 = true), bit 2 : homunc dead (1 = true) - WBUFB(buf, 26) = (battle_config.hom_rename && hd->homunculus.rename_flag ? 0x1 : 0x0) | (hd->homunculus.vaporize == HOM_ST_REST ? 0x2 : 0) | (hd->homunculus.hp > 0 ? 0x4 : 0); + WBUFB(buf, 26) = (!battle_config.hom_rename && hd->homunculus.rename_flag ? 0x1 : 0x0) | (hd->homunculus.vaporize == HOM_ST_REST ? 0x2 : 0) | (hd->homunculus.hp > 0 ? 0x4 : 0); WBUFW(buf, 27) = hd->homunculus.level; WBUFW(buf, 29) = hd->homunculus.hunger; WBUFW(buf, 31) = (unsigned short) (hd->homunculus.intimacy / 100) ; -- cgit v1.2.3-70-g09d2