summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-28 00:40:21 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-28 00:40:21 +0000
commit522b376587fbf5793183c41d2916dec1232f762d (patch)
tree1b97542010290b837deb8a1af81fca7a3b90010a /src
parentb3f8687feebcd9fd8d4f27e97ed33e4b0f951a63 (diff)
downloadhercules-522b376587fbf5793183c41d2916dec1232f762d.tar.gz
hercules-522b376587fbf5793183c41d2916dec1232f762d.tar.bz2
hercules-522b376587fbf5793183c41d2916dec1232f762d.tar.xz
hercules-522b376587fbf5793183c41d2916dec1232f762d.zip
Applied clif_setlevel() to the new trade window packets to make it display properly when going over lvl99.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11831 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index ba50ea01a..536ff5574 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -3170,7 +3170,7 @@ void clif_traderequest(struct map_session_data* sd, const char* name)
WFIFOW(fd,0) = 0x1f4;
safestrncpy((char*)WFIFOP(fd,2), name, NAME_LENGTH);
WFIFOL(fd,26) = tsd->status.char_id;
- WFIFOW(fd,30) = tsd->status.base_level;
+ WFIFOW(fd,30) = clif_setlevel(tsd->status.base_level);
WFIFOSET(fd,packet_len(0x1f4));
#endif
}
@@ -3203,7 +3203,7 @@ void clif_tradestart(struct map_session_data* sd, uint8 type)
WFIFOW(fd,0) = 0x1f5;
WFIFOB(fd,2) = type;
WFIFOL(fd,3) = tsd->status.char_id;
- WFIFOW(fd,7) = tsd->status.base_level;
+ WFIFOW(fd,7) = clif_setlevel(tsd->status.base_level);
WFIFOSET(fd,packet_len(0x1f5));
#endif
}