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

Fix/save const correctness #479

Merged
merged 2 commits into from
Mar 12, 2020

Conversation

grantramsay
Copy link
Contributor

This is a single commit appended on same branch as #475 (because of conflicts), the diff will make more sense after that is merged.
Just added const to all save methods I could find.
Adding the save method to a common base class (#478) requires that items/actors etc have the same save method signature, and it'd be a bit messy to include this in that PR.
Things that requiring saving should probably be implementing an ISaveable interface, but that can be done another day

@wheybags
Copy link
Owner

Looks good, thanks!

@wheybags wheybags merged commit aaeec34 into wheybags:master Mar 12, 2020
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.

2 participants