diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-26 07:58:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-12-12 21:18:06 +0300 |
commit | cde8cf6b18c124f5453451276c9978141271e6d3 (patch) | |
tree | 6a102cb1d87cf57ccb05b1b2a82d42defabf774e | |
parent | a3b66189064b5b7ec2be2caf6d2ae42c5d9a7851 (diff) | |
download | hercules-cde8cf6b18c124f5453451276c9978141271e6d3.tar.gz hercules-cde8cf6b18c124f5453451276c9978141271e6d3.tar.bz2 hercules-cde8cf6b18c124f5453451276c9978141271e6d3.tar.xz hercules-cde8cf6b18c124f5453451276c9978141271e6d3.zip |
Use enum OPEN_ROULETTE_ACK in roulette open ack packet.
-rw-r--r-- | src/map/clif.c | 2 | ||||
-rw-r--r-- | src/map/clif.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index d27d659b2..da8ba3a95 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -19824,7 +19824,7 @@ static void clif_parse_RouletteOpen(int fd, struct map_session_data *sd) } p.PacketType = 0xa1a; - p.Result = 0; + p.Result = OPEN_ROULETTE_SUCCESS; p.Serial = 0; p.Step = sd->roulette.stage - 1; p.Idx = (char)sd->roulette.prizeIdx; diff --git a/src/map/clif.h b/src/map/clif.h index 7f3dc204d..c8db1a0fd 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -503,7 +503,7 @@ enum GENERATE_ROULETTE_ACK { #endif }; -enum OPEN_ROULETTE_ACK{ +enum OPEN_ROULETTE_ACK { OPEN_ROULETTE_SUCCESS = 0x0, OPEN_ROULETTE_FAILED = 0x1, }; |