Skip to content

Commit

Permalink
Initialize ai.better to nullptr in government constructor
Browse files Browse the repository at this point in the history
Fixes #1178
  • Loading branch information
psampathkumar authored and jwrober committed Aug 5, 2022
1 parent df9e3e5 commit 850cc46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/government.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ government::government()
requirement_vector_init(&reqs);
changed_to_times = 0;
ruledit_disabled = false;
ai.better = nullptr;
}

/**
Expand Down

0 comments on commit 850cc46

Please sign in to comment.