fix github pull request #114 - ant holes in *.des
Fixes #114 Report and contributed fix described lack of support for room type "ant hole" in the code that loads special levels (and mentioned that none of our des files attempted to use that room type so it isn't noticeable in unmodified version of the game). The fix overlooked a couple of other missing room types (leprechaun hall and cockatrice nest) so I didn't use the pull-request's commit (so not sure what github's automated updating will make of 'Fixes #114').
This commit is contained in:
@@ -786,10 +786,9 @@ link_doors_rooms()
|
||||
void
|
||||
fill_rooms()
|
||||
{
|
||||
int tmpi;
|
||||
int tmpi, m;
|
||||
|
||||
for (tmpi = 0; tmpi < nroom; tmpi++) {
|
||||
int m;
|
||||
if (rooms[tmpi].needfill)
|
||||
fill_room(&rooms[tmpi], (rooms[tmpi].needfill == 2));
|
||||
for (m = 0; m < rooms[tmpi].nsubrooms; m++)
|
||||
@@ -2452,6 +2451,9 @@ boolean prefilled;
|
||||
case COURT:
|
||||
case ZOO:
|
||||
case BEEHIVE:
|
||||
case ANTHOLE:
|
||||
case COCKNEST:
|
||||
case LEPREHALL:
|
||||
case MORGUE:
|
||||
case BARRACKS:
|
||||
fill_zoo(croom);
|
||||
|
||||
Reference in New Issue
Block a user