Removed unused parameters
This commit is contained in:
parent
3f019c7d2d
commit
23e73f7f1e
1 changed files with 1 additions and 3 deletions
|
@ -3123,7 +3123,6 @@ std::vector<map_location>::const_iterator make_a_move(const std::vector<map_loca
|
|||
* @returns true if events might have changed the game state.
|
||||
*/
|
||||
bool movement_events(const map_location &initial_loc, const map_location &final_loc,
|
||||
const movement_surprises &/*stops*/, bool /*fog_shroud*/,
|
||||
int &orig_village_owner, int &action_time_bonus)
|
||||
{
|
||||
// Alias some resources.
|
||||
|
@ -3417,8 +3416,7 @@ size_t move_unit(move_unit_spectator *move_spectator,
|
|||
int orig_village_owner = -1;
|
||||
int action_time_bonus = 0;
|
||||
if(ui != units.end()) {
|
||||
stops.event_mutated |= movement_events(initial_loc, final_loc, stops, should_clear_shroud,
|
||||
orig_village_owner, action_time_bonus);
|
||||
stops.event_mutated |= movement_events(initial_loc, final_loc, orig_village_owner, action_time_bonus);
|
||||
//NOTE: an wml event may have removed the unit pointed by ui
|
||||
ui = units.find(final_loc);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue