summaryrefslogtreecommitdiff
path: root/games/hack/hack.main.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.main.c')
-rw-r--r--games/hack/hack.main.c2
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++;
}