diff options
Diffstat (limited to 'games/adventure/vocab.c')
-rw-r--r-- | games/adventure/vocab.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games/adventure/vocab.c b/games/adventure/vocab.c index dbd451cdaaf..84478182c2a 100644 --- a/games/adventure/vocab.c +++ b/games/adventure/vocab.c @@ -96,11 +96,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]; } @@ -112,7 +112,7 @@ int object,where; place[object]=where; } if (where<=0) return; - link[object]=atloc[where]; + linkx[object]=atloc[where]; atloc[where]=object; } |