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
commitbe92739641c301ae5600b1e108d60fdb606698a1 (patch)
treeaaf2f8eab438d7b87220d870bd3194ccd5821f1e
parent6a9009f3eeb7606d33faa9329a01700e2e7ddc3d (diff)
downloadhercules-be92739641c301ae5600b1e108d60fdb606698a1.tar.gz
hercules-be92739641c301ae5600b1e108d60fdb606698a1.tar.bz2
hercules-be92739641c301ae5600b1e108d60fdb606698a1.tar.xz
hercules-be92739641c301ae5600b1e108d60fdb606698a1.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/branches/renewal@14451 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Renewal.txt2
-rw-r--r--src/map/clif.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/Changelog-Renewal.txt b/Changelog-Renewal.txt
index 162598540..089a0af91 100644
--- a/Changelog-Renewal.txt
+++ b/Changelog-Renewal.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
}