|
@@ -811,7 +811,8 @@ bool CPlayer::Trip(int i1, int i2) {
|
|
|
//-------------------------------------------------------------------------------------------------
|
|
|
// 00172FF8 ^_^
|
|
|
void CPlayer::UpdateLogic() {
|
|
|
- if (NIS_Active()) return;
|
|
|
+ if (NIS_Active())
|
|
|
+ return;
|
|
|
|
|
|
// 00173002
|
|
|
UpdateJostlePoint();
|
|
@@ -820,17 +821,18 @@ void CPlayer::UpdateLogic() {
|
|
|
UpdateBallReactions();
|
|
|
UpdateFall();
|
|
|
|
|
|
- if (!uc_88) return;
|
|
|
+ if (!uc_88)
|
|
|
+ return;
|
|
|
|
|
|
// 00173026
|
|
|
- if (cBall.ballPosPrev_4.dz_8 <= us_122 * 72 &&
|
|
|
- tStr58_A0.u_50.ui_50 <= 0x28000) {
|
|
|
+ if (cBall.ballPosPrev_4.dz_8 <= us_122 * 72 && tStr58_A0.u_50.ui_50 <= 0x28000) {
|
|
|
// 00173046
|
|
|
- if (tGame.field_6C38 <= 4 && cBall.speedXY_28 > 0x14DC) {
|
|
|
+ if (tGame.field_6C38 <= 4 && (int)cBall.speedXY_28 > 0x14DC) {
|
|
|
uc_88 = 0;
|
|
|
- } else if (tGame.mTLogic_6678.team_40 == tStr32_44.uc_0) {
|
|
|
+ } else if (tGame.mTLogic_6678.team_40 != tStr32_44.uc_0) {
|
|
|
uc_88 = 0;
|
|
|
}
|
|
|
+
|
|
|
} else {
|
|
|
uc_88 = 0;
|
|
|
}
|