Skip to content

Commit

Permalink
Fixed bug in HUNK_TYPE_FACTION_REALIGN making factions that were enemies
Browse files Browse the repository at this point in the history
not get restored properly.
  • Loading branch information
bobbens committed Apr 23, 2024
1 parent 9301e04 commit f5cb84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unidiff.c
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ static int diff_patchHunk( UniHunk_t *hunk )
faction_rmAlly( a, b );
faction_rmAlly( b, a );
faction_addEnemy( a, b );
faction_addAlly( b, a );
faction_addEnemy( b, a );
} else {
faction_rmAlly( a, b );
faction_rmAlly( b, a );
Expand Down

0 comments on commit f5cb84b

Please sign in to comment.