diff options
author | Haru <haru@dotalux.com> | 2018-08-26 15:08:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-26 15:08:05 +0200 |
commit | adae3d4518a4eae5424a3bbff40d11d3eb90a52a (patch) | |
tree | b7fefb04d83490e6a9e2b07bd5fc850f9c7ccbaa /src | |
parent | 42f36d1ee5dcc89e288c6ac128be0ff6ed0985e0 (diff) | |
parent | e37383b85fc80bd069868685f0efc0325535c8ea (diff) | |
download | hercules-adae3d4518a4eae5424a3bbff40d11d3eb90a52a.tar.gz hercules-adae3d4518a4eae5424a3bbff40d11d3eb90a52a.tar.bz2 hercules-adae3d4518a4eae5424a3bbff40d11d3eb90a52a.tar.xz hercules-adae3d4518a4eae5424a3bbff40d11d3eb90a52a.zip |
Merge pull request #2190 from 4144/updatepackets
Packets updates/fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 2 | ||||
-rw-r--r-- | src/map/clif.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index a5955a9bc..8f9d4566c 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++) { diff --git a/src/map/clif.h b/src/map/clif.h index d20c30a24..e3b2a90d3 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -439,11 +439,13 @@ enum e_BANKING_DEPOSIT_ACK { BDA_ERROR = 0x1, BDA_NO_MONEY = 0x2, BDA_OVERFLOW = 0x3, + BDA_PROHIBIT = 0x4, }; enum e_BANKING_WITHDRAW_ACK { BWA_SUCCESS = 0x0, BWA_NO_MONEY = 0x1, BWA_UNKNOWN_ERROR = 0x2, + BWA_PROHIBIT = 0x3, }; /* because the client devs were replaced by monkeys. */ |