Skip to content
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

Some repair for WoG commanders #230

Merged
merged 2 commits into from Oct 2, 2016

Conversation

dydzio0614
Copy link
Member

Now dead commanders should not appear as units in battle. Partial fix for http://bugs.vcmi.eu/view.php?id=2430 together with 723734f

Copy link
Member

@ArseniyShestakov ArseniyShestakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You cannot do changes like that in classes that have serialize method and used for game save. There is way to add save compatability, but I'll instead suggest to do that ui8 -> bool change at all. Most likely it's not worth it.

If you think it's going to be good idea to do in future then better leave some comment in code about changing this after save compatability breakage. But really we don't want to break saves as long as possible.

@ArseniyShestakov ArseniyShestakov merged commit 6f82dc3 into vcmi:develop Oct 2, 2016
@dydzio0614 dydzio0614 deleted the CommanderExperience branch November 3, 2016 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants