Removed unused parameters

This commit is contained in:
Silas Brill 2012-05-02 05:34:25 +00:00
parent 3f019c7d2d
commit 23e73f7f1e

View file

@ -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);
}