Skip to content

Commit

Permalink
rpg: fixed typo which took address of iterator instead of dereferenci…
Browse files Browse the repository at this point in the history
…ng it
  • Loading branch information
cdfrey committed Jun 8, 2012
1 parent 11e2f23 commit e3074cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpg/pathfinding_costs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void pathfinding_costs::update_costs(const std::vector<rpg::faction *> & faction
std::vector<rpg::faction *>::const_iterator i = factions.begin();
for (; i != factions.end(); i++)
{
if (&i != NULL)
if (*i != NULL)
parse_data_file((*i)->pathfinding_costs_path());
}

Expand Down

0 comments on commit e3074cd

Please sign in to comment.