Skip to content

Commit c5a65f4

Browse files
committed
fix promotions
1 parent 05401e8 commit c5a65f4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Savegame/SavedGame.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ struct PromotionInfo
8181
int totalColonels;
8282
int totalCaptains;
8383
int totalSergeants;
84+
PromotionInfo(): totalCommanders(0), totalColonels(0), totalCaptains(0), totalSergeants(0){}
8485
};
8586
/**
8687
* The game data that gets written to disk when the game is saved.

0 commit comments

Comments
 (0)