From: nhmall Date: Thu, 23 May 2019 04:12:55 +0000 (-0400) Subject: Merge branch 'NetHack-3.6' X-Git-Tag: NetHack-3.7.0_WIP~405 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b8bac029595529d71bcd09da1709cda0d1e2f59;p=nethack Merge branch 'NetHack-3.6' --- 0b8bac029595529d71bcd09da1709cda0d1e2f59 diff --cc src/mkmaze.c index e1c176a94,2a8dc226c..f835d5ca1 --- a/src/mkmaze.c +++ b/src/mkmaze.c @@@ -1395,9 -1403,14 +1391,14 @@@ movebubbles( 0, 0, 0, 0, 0, 0 }; static const struct rm air_pos = { cmap_to_glyph(S_cloud), AIR, 0, 0, 0, 1, 0, 0, 0, 0 }; + static boolean up = FALSE; + struct bubble *b; + struct container *cons; + struct trap *btrap; + int x, y, i, j; /* set up the portal the first time bubbles are moved */ - if (!wportal) + if (!g.wportal) set_wportal(); vision_recalc(2); @@@ -1425,11 -1438,8 +1426,8 @@@ /* pick up objects, monsters, hero, and traps */ if (OBJ_AT(x, y)) { struct obj *olist = (struct obj *) 0, *otmp; - struct container *cons = - (struct container *) alloc( - sizeof(struct container)); - while ((otmp = level.objects[x][y]) != 0) { + while ((otmp = g.level.objects[x][y]) != 0) { remove_object(otmp); otmp->ox = otmp->oy = 0; otmp->nexthere = olist;