mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-08 14:00:07 -04:00
adaptive aligned std::array based vector types (#686)
This commit is contained in:
@@ -474,9 +474,9 @@ int16_t TNTHighYield::CallEvent(int event, tOSIRISEventInfo *data) {
|
||||
|
||||
accel = fabs(delta_vel / frametime);
|
||||
|
||||
bool case1 = (accel >= 40.0f && vel_val > 35.0f && memory->last_vel.y < -6.0f) ? true : false;
|
||||
bool case1 = (accel >= 40.0f && vel_val > 35.0f && memory->last_vel.y() < -6.0f) ? true : false;
|
||||
bool case2 = (accel > 100.0f && vel_val > 50.0f) ? true : false;
|
||||
bool case3 = (accel > 1500.0f && memory->last_vel.y < -5.0f) ? true : false;
|
||||
bool case3 = (accel > 1500.0f && memory->last_vel.y() < -5.0f) ? true : false;
|
||||
|
||||
if (case1 || case2 || case3) {
|
||||
if (case1)
|
||||
|
||||
Reference in New Issue
Block a user