• R/O
  • SSH
  • HTTPS

junnethack: Commit


Commit MetaInfo

Revision367 (tree)
Time2011-01-16 23:12:01
Authorso-miya

Log Message

UnNetHack SVN版rev.720を適用した。
Remove random secret corridors
ランダムな隠し通路を削除

Change Summary

Incremental Difference

--- junnethack/trunk/src/sp_lev.c (revision 366)
+++ junnethack/trunk/src/sp_lev.c (revision 367)
@@ -2192,7 +2192,7 @@
21922192 if(nxcor && !rn2(50))
21932193 (void) mksobj_at(BOULDER, xx, yy, TRUE, FALSE);
21942194 } else {
2195- crm->typ = SCORR;
2195+ crm->typ = CORR; /* formerly secret corridor */
21962196 }
21972197 } else
21982198 if(crm->typ != ftyp && crm->typ != SCORR) {
--- junnethack/trunk/src/extralev.c (revision 366)
+++ junnethack/trunk/src/extralev.c (revision 367)
@@ -278,11 +278,7 @@
278278 corr(x,y)
279279 int x, y;
280280 {
281- if (rn2(50)) {
282- levl[x][y].typ = CORR;
283- } else {
284- levl[x][y].typ = SCORR;
285- }
281+ levl[x][y].typ = CORR;
286282 }
287283
288284 void
Show on old repository browser