diff options
Diffstat (limited to 'games/hack/hack.main.c')
-rw-r--r-- | games/hack/hack.main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/hack/hack.main.c b/games/hack/hack.main.c index 58501936082..4772ae29bca 100644 --- a/games/hack/hack.main.c +++ b/games/hack/hack.main.c @@ -236,7 +236,7 @@ char *argv[]; register char *gp = genocided; while(pm < mons+CMNUM+2){ - if(!index(sfoo, pm->mlet)) + if(!strchr(sfoo, pm->mlet)) *gp++ = pm->mlet; pm++; } |