diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-08-26 02:11:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-08-26 02:11:21 +0300 |
commit | e37383b85fc80bd069868685f0efc0325535c8ea (patch) | |
tree | 32b27ee8ea5f6b9297f86f7fe270cbe9c25f60a7 | |
parent | 04d782082103d8992f56244801fe55c7a2c68256 (diff) | |
download | hercules-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.c | 2 |
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++) { |