added when -d isn't enabled, human gold drop won't drop out of rooms
This commit is contained in:
@ -185,6 +185,10 @@ bool level::is_available_all(const position &pos) const {
|
|||||||
if (!map.is_available(pos))
|
if (!map.is_available(pos))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (!(enabled_features & FEATURE_DOORS) &&
|
||||||
|
map.which_room(pos) == -1)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (player->get_pos() == pos)
|
if (player->get_pos() == pos)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user