christopho/solarus — pull request #627 by Morwenn (2014-09-21 23:33:07+00:00)
Title: Fix bug in Crystal::activate.

This fixes a regression that was introduced with the range-based for loop. I didn't want to rewrite an old iterator-based loop, and using std::any_of would have been slightly too verbose (still waiting for algorithms to take containers instead of pairs of iterators), so I finally chose a break solution.