Skip to content

Commit

Permalink
Fix another assertion when a player dies
Browse files Browse the repository at this point in the history
  • Loading branch information
RecursiveVision committed Dec 11, 2024
1 parent 25a57c3 commit 2c74297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CvGameCoreDLL_Expansion2/CvDiplomacyAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ void CvDiplomacyAI::SlotStateChange()
SetStateAllWars(STATE_ALL_WARS_NEUTRAL);

// Reset values for minors
for (int iI = 0; iI < MAX_MINOR_CIVS; iI++)
for (int iI = MAX_MAJOR_CIVS; iI < MAX_CIV_PLAYERS; iI++)
{
PlayerTypes eMinor = (PlayerTypes)iI;
SetWantToRouteConnectToMinor(eMinor, false);
Expand Down

0 comments on commit 2c74297

Please sign in to comment.