diff --git a/library/modules/Constructions.cpp b/library/modules/Constructions.cpp index a60059b5c..98410c331 100644 --- a/library/modules/Constructions.cpp +++ b/library/modules/Constructions.cpp @@ -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; }