summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/clif.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 162598540..089a0af91 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -1,5 +1,7 @@
Date Added
+2010/11/08
+ * Send the actual level of the person you're trading with rather than limiting it by the max_lv/aura_lv settings. [Paradox924X]
2010/11/07
* 'Exp gained' packets are now sent regardless of @showexp. @showexp can be enabled regardless of PACKETVER. [Gepard]
* Applied clif_equiplist fix by Ai4rei to prevent client crash when equipment is broken/repaired and PACKETVER >= 20100629. Follow-up to r14368. (bugreport:4459) [Gepard]
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
}