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 player::is_wielding() to Character #34960

Merged
merged 2 commits into from
Oct 23, 2019

Conversation

KorGgenT
Copy link
Member

Summary

SUMMARY: Infrastructure "change scope of player::is_wielding() to Character"

Purpose of change

part of #34721

Describe the solution

changes scope of player::is_wielding() to Character. additionally, removes all the places where we have the duplicate code of &weapon == &weap that is the body of is_wielding.

Testing

Compiled.

@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 23, 2019
@ZhilkinSerg ZhilkinSerg merged commit e407bd3 into CleverRaven:master Oct 23, 2019
@KorGgenT KorGgenT deleted the is_wielding 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