summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-08-26 02:11:21 +0300
committerAndrei Karas <akaras@inbox.ru>2018-08-26 02:11:21 +0300
commite37383b85fc80bd069868685f0efc0325535c8ea (patch)
tree32b27ee8ea5f6b9297f86f7fe270cbe9c25f60a7
parent04d782082103d8992f56244801fe55c7a2c68256 (diff)
downloadhercules-e37383b85fc80bd069868685f0efc0325535c8ea.tar.gz
hercules-e37383b85fc80bd069868685f0efc0325535c8ea.tar.bz2
hercules-e37383b85fc80bd069868685f0efc0325535c8ea.tar.xz
hercules-e37383b85fc80bd069868685f0efc0325535c8ea.zip
Fix packet size in clif_parse_RouletteInfo.
-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 fd8a3c783..ef3947008 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -19667,7 +19667,7 @@ static void clif_parse_RouletteInfo(int fd, struct map_session_data *sd)
}
p.PacketType = rouletteinfoackType;
- p.PacketLength = 8 + (42 * 8);
+ p.PacketLength = sizeof(p);
p.RouletteSerial = 1;
for(i = 0; i < MAX_ROULETTE_LEVEL; i++) {