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);
/* 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;