From d8e95d8c1a6a0918fc9dda2ca247833ad222696d Mon Sep 17 00:00:00 2001 From: eivind Date: Mon, 1 Sep 1997 00:34:51 +0000 Subject: Change games from setuid games to setgid games. Reviewed by: maybe@yes.no Obtained from: OpenBSD (mostly deraadt@openbsd.org) --- games/adventure/vocab.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'games/adventure/vocab.c') diff --git a/games/adventure/vocab.c b/games/adventure/vocab.c index b34b42e..357e238 100644 --- a/games/adventure/vocab.c +++ b/games/adventure/vocab.c @@ -91,11 +91,11 @@ int object,where; holdng++; } if (atloc[where]==object) - { atloc[where]=link[object]; + { atloc[where]=linkx[object]; return; } - for (temp=atloc[where]; link[temp]!=object; temp=link[temp]); - link[temp]=link[object]; + for (temp=atloc[where]; linkx[temp]!=object; temp=linkx[temp]); + linkx[temp]=linkx[object]; } @@ -107,7 +107,7 @@ int object,where; place[object]=where; } if (where<=0) return; - link[object]=atloc[where]; + linkx[object]=atloc[where]; atloc[where]=object; } -- cgit v1.1