Skip to content

Commit

Permalink
Merge pull request #75084 from PatrikLundell/hunting
Browse files Browse the repository at this point in the history
Make use of the hunting count calculated
  • Loading branch information
Maleclypse authored Jul 21, 2024
2 parents c9f6b19 + 8648955 commit ecea7b5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/faction_camp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4789,10 +4789,15 @@ void basecamp::hunting_results( int skill, const mission_id &miss_id, int attemp
}
}

make_corpse_from_group( MonsterGroupManager::GetResultFromGroup( GROUP_CAMP_HUNTING,
&results_from_base_group ) );
make_corpse_from_group( MonsterGroupManager::GetResultFromGroup( mission_specific_group,
&results_from_mission_group ) );
while( results_from_base_group > 0 ) {
make_corpse_from_group( MonsterGroupManager::GetResultFromGroup( GROUP_CAMP_HUNTING,
&results_from_base_group ) );
}

while( results_from_mission_group > 0 ) {
make_corpse_from_group( MonsterGroupManager::GetResultFromGroup( mission_specific_group,
&results_from_mission_group ) );
}
}

void basecamp::make_corpse_from_group( const std::vector<MonsterGroupResult> &group )
Expand Down

0 comments on commit ecea7b5

Please sign in to comment.