summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-13 21:29:04 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-13 21:29:04 +0000
commit01f912a8b84ed04f4d84cf1922ffc3ef9c5430ec (patch)
tree799d23585b9988673e52adfa786aadf0eb2da459 /src/map
parente6702fae52ff77e11f11b993e4a4194000980993 (diff)
downloadhercules-01f912a8b84ed04f4d84cf1922ffc3ef9c5430ec.tar.gz
hercules-01f912a8b84ed04f4d84cf1922ffc3ef9c5430ec.tar.bz2
hercules-01f912a8b84ed04f4d84cf1922ffc3ef9c5430ec.tar.xz
hercules-01f912a8b84ed04f4d84cf1922ffc3ef9c5430ec.zip
- Fixed a packet_ver error with the #defines in clif_spawn.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7145 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 966ecded4..aad0a5ddc 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1268,24 +1268,21 @@ int clif_spawn(struct block_list *bl)
if (pcdb_checkid(vd->class_))
{ //Player spawn packet.
clif_set0078(bl, vd, buf);
-#if PACKETVER > 3
if (WBUFW(buf,0)==0x78) {
WBUFW(buf, 0) = 0x79;
WBUFW(buf,51) = WBUFW(buf,52); //Lv is placed on offset 52
clif_send(buf, packet_len_table[0x79], bl, AREA_WOS);
if (disguised(bl))
clif_setdisguise((TBL_PC*)bl, buf, packet_len_table[0x79], 0);
+#if PACKETVER > 3
} else {
-#endif
WBUFW(buf, 0) = 0x1d9;
WBUFW(buf,51) = WBUFW(buf,52); //Lv is placed on offset 52
clif_send(buf, packet_len_table[0x1d9], bl, AREA_WOS);
if (disguised(bl))
clif_setdisguise((TBL_PC*)bl, buf, packet_len_table[0x1d9], 0);
-#if PACKETVER > 3
- }
#endif
-
+ }
} else { //Mob spawn packet.
struct status_change *sc = status_get_sc(bl);
memset(buf,0,sizeof(buf));