mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-30 23:44:28 -04:00
first round of constants cleanup (#3021)
* first round of constants cleanup * move m_PI_D definition * remove compatibility comment * add future version of angle subtracting with/without cast * whitespace change to run builds again
This commit is contained in:
@@ -353,7 +353,7 @@ void daTaFence_c::init_modeMove() {
|
||||
|
||||
void daTaFence_c::modeMove() {
|
||||
cLib_chaseF(&speedF, mFallSpeed, mFallSpeed / 30.0f);
|
||||
if (cLib_addCalcAngleS(&shape_angle.x, field_0x1384, 1, (182.04445f * fopAcM_GetSpeedF(this)), 1) == 0) {
|
||||
if (cLib_addCalcAngleS(&shape_angle.x, field_0x1384, 1, DEG2S(fopAcM_GetSpeedF(this)), 1) == 0) {
|
||||
init_modeMoveEnd();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user