Remove the timer hacks I did when I was figuring out the timing

problem
This commit is contained in:
Marco Cawthorne 2021-09-15 22:59:53 +02:00
parent 3c040996c7
commit fb11cb5f8f
Signed by: eukara
GPG Key ID: C196CD8BA993248A
10 changed files with 1 additions and 12 deletions

View File

@ -290,7 +290,7 @@ w_crossbow_release(void)
} }
} }
pl.w_idle_next = 3.0f * 2.5f; pl.w_idle_next = 3.0f;
} }
void void

View File

@ -199,7 +199,6 @@ void w_egon_release(void)
pl.w_idle_next = 2.0f; pl.w_idle_next = 2.0f;
} }
pl.mode_tempstate = 0; pl.mode_tempstate = 0;
pl.w_idle_next *= 2.5f;
} }
} }

View File

@ -279,7 +279,6 @@ void w_gauss_release(void)
pl.w_idle_next = 4.0f; pl.w_idle_next = 4.0f;
break; break;
} }
pl.w_idle_next *= 2.5f;
} }
void w_gauss_crosshair(void) void w_gauss_crosshair(void)

View File

@ -218,7 +218,6 @@ void w_handgrenade_release(void)
Weapons_ViewAnimation(HANDGRENADE_IDLE); Weapons_ViewAnimation(HANDGRENADE_IDLE);
pl.w_idle_next = 3.0f; pl.w_idle_next = 3.0f;
} }
pl.w_idle_next *= 2.5f;
} }
} }

View File

@ -161,7 +161,6 @@ w_hornetgun_release(void)
Weapons_ViewAnimation(HORNETGUN_IDLE); Weapons_ViewAnimation(HORNETGUN_IDLE);
pl.w_idle_next = 1.875f; pl.w_idle_next = 1.875f;
} }
pl.w_idle_next *= 2.5f;
} }
void void

View File

@ -254,7 +254,6 @@ w_python_release(void)
pl.w_idle_next = 2.93f; pl.w_idle_next = 2.93f;
break; break;
} }
pl.w_idle_next *= 2.5f;
} }
void void

View File

@ -232,8 +232,6 @@ void w_rpg_release(void)
Weapons_ViewAnimation(RPG_IDLE_UL); Weapons_ViewAnimation(RPG_IDLE_UL);
} }
} }
pl.w_idle_next = 3.0f * 2.5f;
} }
void w_rpg_secondary(void) void w_rpg_secondary(void)

View File

@ -317,7 +317,6 @@ w_shotgun_release(void)
pl.w_idle_next = 2.222222f; pl.w_idle_next = 2.222222f;
break; break;
} }
pl.w_idle_next *= 2.5f;
} else if (pl.mode_tempstate == SHOTTY_RELOAD_START) { } else if (pl.mode_tempstate == SHOTTY_RELOAD_START) {
Weapons_ViewAnimation(SHOTGUN_START_RELOAD); Weapons_ViewAnimation(SHOTGUN_START_RELOAD);
pl.mode_tempstate = SHOTTY_RELOAD; pl.mode_tempstate = SHOTTY_RELOAD;

View File

@ -247,8 +247,6 @@ void w_snark_release(void)
pl.w_idle_next = 5.0f; pl.w_idle_next = 5.0f;
break; break;
} }
pl.w_idle_next *= 2.5f;
} }
void w_snark_precache(void) void w_snark_precache(void)

View File

@ -339,7 +339,6 @@ w_tripmine_release(void)
pl.w_idle_next = 3.34f; pl.w_idle_next = 3.34f;
break; break;
} }
pl.w_idle_next *= 2.5f;
} }
float float