Skip to content

Commit

Permalink
Initialize ai.better to nullptr in government constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
psampathkumar committed Aug 4, 2022
1 parent c782022 commit cab4f90
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 cab4f90

Please sign in to comment.