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

Change scope of rooted() and dependent functions #34811

Merged
merged 3 commits into from
Oct 17, 2019

Conversation

KorGgenT
Copy link
Member

Summary

SUMMARY: Infrastructure "Change scope of rooted() and dependent functions to Character"

Purpose of change

need this in order to do #34807 properly
part of #34721

Describe the solution

First i changed the scope of rooted() and rooted_message(), and then i changed the scope of all of the functions that depended on the fact that rooted() was in the player scope. Then i moved the functions from player.cpp to character.cpp

Testing

Loaded a couple old saves to see migration went over well.

@KorGgenT KorGgenT added [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style labels Oct 17, 2019
@ZhilkinSerg ZhilkinSerg merged commit cb8747f into CleverRaven:master Oct 17, 2019
@KorGgenT KorGgenT deleted the rooted-scope branch August 13, 2020 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants