Skip to content

Commit

Permalink
Fix visibility issues in loaded games.
Browse files Browse the repository at this point in the history
Removed «alliancebits[i] = 0;», which broke stuff. Was previously «alliancebits[i] |= 0;» which was a no-op.

Broken in dddf05c, fixed in 3.1 branch in c5117b0.

Fixes ticket:4388. Probably fixes ticket:4368.
  • Loading branch information
Cyp committed May 14, 2016
1 parent bdc51e1 commit c94b543
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/game.cpp
Expand Up @@ -1890,7 +1890,6 @@ bool loadGame(const char *pGameToLoad, bool keepObjects, bool freeMem, bool User
{
for (i = 0; i < MAX_PLAYERS; i++)
{
alliancebits[i] = 0;
for (j = 0; j < MAX_PLAYERS; j++)
{
alliances[i][j] = saveGameData.alliances[i][j];
Expand Down

0 comments on commit c94b543

Please sign in to comment.