diff --git a/apps/opencs/model/world/collection.hpp b/apps/opencs/model/world/collection.hpp index 6e6751823d..156c5f9c71 100644 --- a/apps/opencs/model/world/collection.hpp +++ b/apps/opencs/model/world/collection.hpp @@ -51,7 +51,7 @@ namespace CSMWorld return ESM::RefId::stringRefId(Land::createUniqueRecordId(record.mX, record.mY)); } - inline void setRecordId(LandTexture& record, const ESM::RefId& id) + inline void setRecordId(const ESM::RefId& id, LandTexture& record) { int plugin = 0; int index = 0;