diff options
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 aaab364d4..f5fad25e4 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -10023,7 +10023,7 @@ void clif_parse_NpcSelectMenu(int fd,struct map_session_data *sd) RFIFOHEAD(fd); select = RFIFOB(fd,6); - if((select > sd->max_menu && select != 0xff) || !select){ + if((select > sd->npc_menu && select != 0xff) || !select){ ShowWarning("Hack on NPC Select Menu: %s (AID: %d)!\n",sd->status.name,sd->bl.id); clif_GM_kick(sd,sd,0); } else { |