summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorlordttseven <lordttseven@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-19 10:21:16 +0000
committerlordttseven <lordttseven@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-19 10:21:16 +0000
commit618b748f152408b5758a528c69136ec9bde5f907 (patch)
tree4796803795d8e9faa506c59e1166899784803cd3 /src/map/clif.c
parenteb093bdeab2bf06125d7560af3a9ff72b29977c8 (diff)
downloadhercules-618b748f152408b5758a528c69136ec9bde5f907.tar.gz
hercules-618b748f152408b5758a528c69136ec9bde5f907.tar.bz2
hercules-618b748f152408b5758a528c69136ec9bde5f907.tar.xz
hercules-618b748f152408b5758a528c69136ec9bde5f907.zip
- reverted part of r15609 since apparently the issue is purely limited to ZC_SKILLINFO_LIST, and this change breaks big storages
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15613 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 5d059180e..3e45e7edb 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -4535,7 +4535,7 @@ void clif_skillinfoblock(struct map_session_data *sd)
if( (id = sd->status.skill[i].id) != 0 )
{
// workaround for bugreport:5348
- if (len + 37 > socket_max_client_packet)
+ if (len + 37 > 8192)
break;
WFIFOW(fd,len) = id;