CDummyWorld: Fix IGetAreaId

This commit is contained in:
Luke Street 2020-04-14 21:15:38 -04:00
parent f4ab5e45a1
commit eb89a17817
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ TAreaId CDummyWorld::IGetAreaId(CAssetId id) const {
}
const auto iter =
std::find_if(x18_areas.cbegin(), x18_areas.cend(), [id](const auto& area) { return area->xc_mrea == id; });
std::find_if(x18_areas.cbegin(), x18_areas.cend(), [id](const auto& area) { return area.xc_mrea == id; });
if (iter == x18_areas.cend()) {
return kInvalidAreaId;
}