mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Core/Instances: fixed build
This commit is contained in:
@@ -784,7 +784,7 @@ void InstanceScript::UpdateEncounterState(EncounterCreditType type, uint32 credi
|
||||
|
||||
// Determine the highest player level of the guild group
|
||||
auto it = minlevelByGuild.find(guildId);
|
||||
if (it == minlevelByGuild.end)
|
||||
if (it == minlevelByGuild.end())
|
||||
minlevelByGuild[guildId] = playerLevel;
|
||||
else if (it->second < playerLevel)
|
||||
it->second = playerLevel;
|
||||
|
||||
Reference in New Issue
Block a user