summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-10-10 18:19:16 -0300
committershennetsind <ind@henn.et>2013-10-10 18:19:31 -0300
commita2e01e40c9e60b8b2d75e4faf41d80a7041e8f93 (patch)
treef91fcb5ddb1097dc483bfb4d646ae9278ea70368 /src/map/clif.c
parentd8f102fb65a6dc422a138862571a29d888182618 (diff)
downloadhercules-a2e01e40c9e60b8b2d75e4faf41d80a7041e8f93.tar.gz
hercules-a2e01e40c9e60b8b2d75e4faf41d80a7041e8f93.tar.bz2
hercules-a2e01e40c9e60b8b2d75e4faf41d80a7041e8f93.tar.xz
hercules-a2e01e40c9e60b8b2d75e4faf41d80a7041e8f93.zip
Homun-S Quest Updated
Partial Merge of 0b68607 Quest Changelog: - 1.2 Replaced with official script. [Euphy] Closes #177 Closes #178 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 57830478d..0c21c796c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1379,7 +1379,7 @@ void clif_hominfo(struct map_session_data *sd, struct homun_data *hd, int flag)
WBUFW(buf,0)=0x22e;
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?0:hd->homunculus.rename_flag) | (hd->homunculus.vaporize << 1) | (hd->homunculus.hp?0:4);
+ 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) ;