BegomanSpringHead 99%#1903
Merged
ThatNintendoNerd merged 23 commits intoSMGCommunity:masterfrom Apr 22, 2026
Merged
Conversation
Report for RMGK01 (5a23028 - db8d089)📈 Matched code: 47.29% (+0.02%, +1084 bytes) ✅ 25 new matches
📈 6 improvements in unmatched items
|
ThatNintendoNerd
requested changes
Apr 22, 2026
| initNerve(&NrvBegomanSpringHead::HostTypeNrvWait::sInstance); | ||
| MR::initLightCtrl(this); | ||
| initHitSensor(1); | ||
| MR::addHitSensorAtJoint(this, "head", "SpringJoint5", 71, 8, 100.0f, TVec3f(0.0f, 100.0f, 0.0f)); |
Collaborator
There was a problem hiding this comment.
In regards to the fourth argument, prefer use of the corresponding enumeration found in ActorSensorUtil.hpp.
| } | ||
|
|
||
| bool BegomanSpringHead::isSpringHop() { | ||
| return LiveActor::isNerve(&NrvBegomanSpringHead::HostTypeNrvWait::sInstance) == 0; |
Collaborator
There was a problem hiding this comment.
When explicitly comparing Boolean (return) values, prefer use of false/true over 0/1. On that note, can the expression be simplified to the following?
return !isNerve(&NrvBegomanSpringHead::HostTypeNrvWait::sInstance);
Contributor
Author
|
The requested changes has been added |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.