Make SINKS unconditional.

This commit is contained in:
Sean Hunt
2015-02-13 23:30:38 -05:00
parent b066b7c170
commit 5ee71d2757
23 changed files with 6 additions and 92 deletions

View File

@@ -20,9 +20,7 @@
STATIC_DCL void FDECL(mkfount,(int,struct mkroom *));
#ifdef SINKS
STATIC_DCL void FDECL(mksink,(struct mkroom *));
#endif
STATIC_DCL void FDECL(mkaltar,(struct mkroom *));
STATIC_DCL void FDECL(mkgrave,(struct mkroom *));
STATIC_DCL void NDECL(makevtele);
@@ -790,9 +788,7 @@ skip0:
if(Is_rogue_level(&u.uz)) goto skip_nonrogue;
#endif
if(!rn2(10)) mkfount(0,croom);
#ifdef SINKS
if(!rn2(60)) mksink(croom);
#endif
if(!rn2(60)) mkaltar(croom);
x = 80 - (depth(&u.uz) * 2);
if (x < 2) x = 2;
@@ -1347,7 +1343,6 @@ register struct mkroom *croom;
level.flags.nfountains++;
}
#ifdef SINKS
STATIC_OVL void
mksink(croom)
register struct mkroom *croom;
@@ -1366,8 +1361,6 @@ register struct mkroom *croom;
level.flags.nsinks++;
}
#endif /* SINKS */
STATIC_OVL void
mkaltar(croom)