room stocking would put multiple items on the same spot
This commit is contained in:
@@ -1020,6 +1020,7 @@ lit candles generated by wishing could have wrong light radius
|
||||
better feedback from detect unseen
|
||||
make public server admin messages use urgent_pline
|
||||
cannot kick while squeezed on top of a boulder
|
||||
room stocking would put multiple items on the same spot
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||
|
||||
@@ -838,7 +838,9 @@ fill_ordinary_room(struct mkroom *croom)
|
||||
impossible("trycnt overflow4");
|
||||
break;
|
||||
}
|
||||
(void) mkobj_at(RANDOM_CLASS, pos.x, pos.y, TRUE);
|
||||
if (somexyspace(croom, &pos)) {
|
||||
(void) mkobj_at(RANDOM_CLASS, pos.x, pos.y, TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user