mirror of
https://github.com/zeldaret/tp
synced 2026-06-01 17:58:04 -04:00
Improving compatibility with standard cpp compiler (#2920)
* Improving compatibility with standard cpp compiler * Add __REGISTER macro for non mwcc compatibility * Fix for PR comments * fix missing define for revolution * Simplifying cSAngle conversion
This commit is contained in:
@@ -995,7 +995,7 @@ bool dCamera_c::transEvCamera(int param_1) {
|
||||
trans->mEye = (*ptr1).mEye;
|
||||
trans->mFovy = (*ptr1).mFovy;
|
||||
trans->field_0x3c = (*ptr1).mBank;
|
||||
if ((*ptr1).mBank != 0.0f) {
|
||||
if (float(s16(ptr1->mBank)) != 0.0f) {
|
||||
trans->field_0x68 = true;
|
||||
}
|
||||
}
|
||||
@@ -1011,7 +1011,7 @@ bool dCamera_c::transEvCamera(int param_1) {
|
||||
trans->mStartEye = (*ptr2).mEye;
|
||||
trans->mStartFovy = (*ptr2).mFovy;
|
||||
trans->field_0x1c = (*ptr2).mBank;
|
||||
if ((*ptr2).mBank != 0.0f) {
|
||||
if (float(s16(ptr2->mBank)) != 0.0f) {
|
||||
trans->field_0x68 = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user