Skip to content

Commit

Permalink
Map: Fixed a crash loading an instanceId 1 which is reserved for ebon…
Browse files Browse the repository at this point in the history
… hold alliance.
  • Loading branch information
mostlikely4r authored and killerwife committed Nov 12, 2024
1 parent 6a6de7b commit eb350c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Maps/MapPersistentStateMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ void MapPersistentStateManager::PackInstances() const
BarGoLink bar(InstanceSet.size() + 1);
bar.step();

uint32 InstanceNumber = 1;
uint32 InstanceNumber = 2; //Reserve instance id 1 for ebonhold GetTeam() == ALLIANCE.
// we do assume std::set is sorted properly on integer value
for (uint32 i : InstanceSet)
{
Expand Down

0 comments on commit eb350c6

Please sign in to comment.