summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-08 22:21:03 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-08 22:21:03 +0000
commitb63046dd0986a0a84a1e4e5993a2bc5bcdbe8e5c (patch)
tree1d89600a64d4e43f9f74f2d93279c489efeb90c6 /src/map
parent18abe06fb8028743881c54a3092ab24458cd2fdc (diff)
downloadhercules-b63046dd0986a0a84a1e4e5993a2bc5bcdbe8e5c.tar.gz
hercules-b63046dd0986a0a84a1e4e5993a2bc5bcdbe8e5c.tar.bz2
hercules-b63046dd0986a0a84a1e4e5993a2bc5bcdbe8e5c.tar.xz
hercules-b63046dd0986a0a84a1e4e5993a2bc5bcdbe8e5c.zip
Send the actual level of the person you're trading with rather than limiting it by the max_lv/aura_lv settings.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14451 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-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 a6865d833..013b41376 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -3458,7 +3458,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) = clif_setlevel(tsd->status.base_level);
+ WFIFOW(fd,30) = tsd->status.base_level;
WFIFOSET(fd,packet_len(0x1f4));
#endif
}
@@ -3491,7 +3491,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) = clif_setlevel(tsd->status.base_level);
+ WFIFOW(fd,7) = tsd->status.base_level;
WFIFOSET(fd,packet_len(0x1f5));
#endif
}