diff --git a/worldbuilder.cpp b/worldbuilder.cpp index dc6e76b..96d4efb 100644 --- a/worldbuilder.cpp +++ b/worldbuilder.cpp @@ -238,7 +238,8 @@ void WorldBuilder::place_entities(DinkyECS::World &world) { } for(size_t room_num = $map.room_count() - 1; room_num > 0; room_num--) { - if(room_num % 2 == 0) { + int has_combatant = Random::uniform(0, 3); + if(has_combatant == 0) { std::string key = keys[room_num % keys.size()]; place_combatant(world, $map, key, room_num); }