New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug piracy issue #127
Debug piracy issue #127
Conversation
@MartinGuehmann what would you suggest to do with civctp2/ctp2_code/gs/gameobj/ArmyData.cpp Line 6057 in 0668dd1
and AutoAddOrdersWrongTurn civctp2/ctp2_code/gs/gameobj/ArmyData.cpp Line 6095 in 0668dd1
, same code snippet as well? Do you know when those are called? |
code snipped thanks to @MartinGuehmann: civctp2#75 (comment)
…rdersWrongTurn: since it won't hurt if not used but would ensure behavior acco. to 58050b8 if called
9265b34
to
1574d54
Compare
Wonderful! Works as expected and solves #75 and #116. |
As you have already figured out: Yes. And then we wait for Travis. |
Of corse (it had finished with the old ones but I just noticed I still had the debug fprintf in). |
Then this can go in. |
Great! This bug really bugged me. Many thanks @MartinGuehmann for helping to solve this. @MartinGuehmann Would you say that this bug already was in the original version of cpt2 or was it introduced when pimping up the AI, making special use of |
This PR solves the issue of #75, i.e. that the player does not get a colored square in the piracy column of the trade manager, nor the diplomatic option to ask for stopping piracy (#116) and is the base for PRs like #125 and #126.