azerothcore / mod-autobalance

Module for AzerothCore(MaNGOS -> TrinityCore -> SunwellCore)
http://www.azerothcore.org
102 stars 109 forks source link

Unable to compile #122

Closed 127y closed 1 year ago

127y commented 1 year ago

Unable to compile

AutoBalance.cpp error

void getAreaLevel(Map map, uint8 areaid, uint8 &min, uint8 &max) { LFGDungeonEntry const dungeon = GetLFGDungeon(map->GetId(), map->GetDifficulty()); if (dungeon && (map->IsDungeon() || map->IsRaid())) { min = dungeon->MinLevel; max = dungeon->reclevel ? dungeon->reclevel : dungeon->maxlevel; }

    max  = dungeon->reclevel ? dungeon->reclevel : dungeon->maxlevel;

reclevel and maxlevel

'reclevel ': not a member of' LFGDungeonEntry ' 'maxlevel ': not a member of' LFGDungeonEntry '