mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-19 13:03:33 -04:00
Resolve all "illegal jump past declaration/initializer" warnings (#2911)
* resolve illegal jump past declaration/initializer * pr comments
This commit is contained in:
@@ -323,8 +323,8 @@ int daNpcTkc_c::Draw() {
|
||||
}
|
||||
|
||||
int daNpcTkc_c::ctrlJoint(J3DJoint* i_joint, J3DModel* i_model) {
|
||||
int jntNo = i_joint->getJntNo();
|
||||
u16 jointNo = jointNo;
|
||||
J3DJoint* joint = i_joint;
|
||||
int jntNo = joint->getJntNo();
|
||||
if ((jntNo == JNT_ARMR || jntNo == JNT_MOUTH) && (mAnmFlags & ANM_PLAY_BCK)) {
|
||||
J3DAnmTransform* anm = mBckAnm.getBckAnm();
|
||||
mBckAnm.changeBckOnly(mAnm_p->getAnm());
|
||||
|
||||
Reference in New Issue
Block a user