summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-12-17 01:36:28 +0100
committerHaru <haru@dotalux.com>2018-12-17 01:36:28 +0100
commit18867f88bf23779a89dbe7d8b7dfcd2cf78744c3 (patch)
tree2944a88e112706a8e853712083f62eacfff6f934 /src/map/clif.c
parent914da2d2410ac32e22d825f633b617cc22f84050 (diff)
downloadhercules-18867f88bf23779a89dbe7d8b7dfcd2cf78744c3.tar.gz
hercules-18867f88bf23779a89dbe7d8b7dfcd2cf78744c3.tar.bz2
hercules-18867f88bf23779a89dbe7d8b7dfcd2cf78744c3.tar.xz
hercules-18867f88bf23779a89dbe7d8b7dfcd2cf78744c3.zip
Fix compile errors with old packetvers
Signed-off-by: Haru <haru@dotalux.com>
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 e8780c6ff..28b953de5 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1628,7 +1628,7 @@ static bool clif_spawn(struct block_list *bl)
/// 022e <name>.24B <modified>.B <level>.W <hunger>.W <intimacy>.W <equip id>.W <atk>.W <matk>.W <hit>.W <crit>.W <def>.W <mdef>.W <flee>.W <aspd>.W <hp>.W <max hp>.W <sp>.W <max sp>.W <exp>.L <max exp>.L <skill points>.W <atk range>.W
static void clif_hominfo(struct map_session_data *sd, struct homun_data *hd, int flag)
{
-#if PACKETVER_MAIN_NUM >= 20101005 || PACKETVER_RE_NUM >= 20080827 || defined(PACKETVER_ZERO_NUM)
+#if PACKETVER_MAIN_NUM >= 20101005 || PACKETVER_RE_NUM >= 20080827 || defined(PACKETVER_ZERO)
struct status_data *hstatus;
enum homun_type htype;
struct PACKET_ZC_PROPERTY_HOMUN p;