diff options
-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. */ |