-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix save/load of avatar-specific variables
- Move avatar-specific savegame code to `avatar::store()` and `avatar::load()`. (This code was left behind when migrating from player.) - Make several variables in player protected to allow access from `avatar::store()` and `avatar::load()`. This is just a temporary fix until these variables are migrated to the avatar class. - Do some reorganization of savegame_json.cpp to make it easier to understand the hierarchy of functions.
- Loading branch information
1 parent
093c7ea
commit ed96404
Showing
2 changed files
with
170 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.