diff options
author | Haru <haru@dotalux.com> | 2018-10-22 14:49:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-22 14:49:34 +0200 |
commit | 239b7eb61eca00ff1ba24999daaa2b001afa736d (patch) | |
tree | 4fec54a9a9d5cdb4e99f943f46320b4ab7e60947 /src/map/clif.c | |
parent | 388359c86183bb779717b6324f6f19c1ee09b2c3 (diff) | |
parent | 5c59f230d982a2e0201956a6f9f853253b9f3c5f (diff) | |
download | hercules-239b7eb61eca00ff1ba24999daaa2b001afa736d.tar.gz hercules-239b7eb61eca00ff1ba24999daaa2b001afa736d.tar.bz2 hercules-239b7eb61eca00ff1ba24999daaa2b001afa736d.tar.xz hercules-239b7eb61eca00ff1ba24999daaa2b001afa736d.zip |
Merge pull request #2279 from Helianthella/prompt
deprecate buildin_prompt, bake it into buildin_select
Diffstat (limited to 'src/map/clif.c')
-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 62b9a4ca9..b7017153b 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -12342,7 +12342,7 @@ static void clif_parse_NpcSelectMenu(int fd, struct map_session_data *sd) int npc_id = RFIFOL(fd,2); uint8 select = RFIFOB(fd,6); - if( (select > sd->npc_menu && select != 0xff) || select == 0 ) { + if( (select > sd->npc_menu && select != MAX_MENU_OPTIONS) || select == 0 ) { #ifdef SECURE_NPCTIMEOUT if( sd->npc_idle_timer != INVALID_TIMER ) { #endif |