Explicitly pass database pointers to repository methods

This commit is contained in:
Akkadius committed 2021-02-05 23:00:27 -06:00
1 parent 7fe0bbacd4
commit e8ab176d4a
167 files changed
+2738 -1938

No files matched your search

+1 -1
View File
@@ -1979,7 +1979,7 @@ bool ZoneDatabase::LoadStaticZonePoints(LinkedList<ZonePoint *> *zone_point_list
zone->numzonepoints = 0;
zone->virtual_zone_point_list.clear();
auto zone_points = ZonePointsRepository::GetWhere(
auto zone_points = ZonePointsRepository::GetWhere(content_db,
fmt::format(
"zone = '{}' AND (version = {} OR version = -1) {} ORDER BY number",
zonename,