Fix GCC compile error

develop
lethosor 2015-11-06 20:05:14 -05:00
parent 3ebe59859b
commit 051244c8d6
1 changed files with 1 additions and 1 deletions

@ -70,7 +70,7 @@ df::construction * Constructions::getConstruction(const int32_t index)
df::construction * Constructions::findAtTile(df::coord pos)
{
for (auto it = begin (world->constructions); it != end (world->constructions); ++it) {
for (auto it = world->constructions.begin(); it != world->constructions.end(); ++it) {
if ((*it)->pos == pos)
return *it;
}