From 522b376587fbf5793183c41d2916dec1232f762d Mon Sep 17 00:00:00 2001 From: ultramage Date: Wed, 28 Nov 2007 00:40:21 +0000 Subject: 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 --- src/map/clif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 } -- cgit v1.2.3-70-g09d2