UnNetHack SVN版rev.775を適用した。
Autoexplore: fix coordinates in interesting_to_explore()
自動探索:interesting_to_explore()の座標修正
@@ -1535,14 +1535,14 @@ | ||
1535 | 1535 | |
1536 | 1536 | /* don't leak information about secret locations */ |
1537 | 1537 | if (levl[x][y].typ == SCORR || |
1538 | - levl[y][y].typ == SDOOR) { | |
1538 | + levl[x][y].typ == SDOOR) { | |
1539 | 1539 | return FALSE; |
1540 | 1540 | } |
1541 | 1541 | /* don't leak information about gold vaults */ |
1542 | 1542 | if (*in_rooms(x,y,VAULT)) return FALSE; |
1543 | 1543 | |
1544 | - /* corridor are uninteresting */ | |
1545 | - if (levl[y][y].typ == CORR) return FALSE; | |
1544 | + /* corridors are uninteresting */ | |
1545 | + if (levl[x][y].typ == CORR) return FALSE; | |
1546 | 1546 | |
1547 | 1547 | return TRUE; |
1548 | 1548 | } |