fp: Fix regression on hit confirmation visual marker

This commit is contained in:
doyle 2023-10-22 17:26:30 +11:00
parent e0681e6f70
commit 60071826aa

View File

@ -2131,7 +2131,7 @@ void FP_Update(TELY_Platform *platform, FP_Game *game, TELY_PlatformInput *input
continue;
defender->hp = defender->hp >= attacker->base_attack ? defender->hp - attacker->base_attack : 0;
defender->hit_on_clock_ms = game->play.update_counter;
defender->hit_on_clock_ms = game->play.clock_ms;
defender->trauma01 = 1.f - (defender->hp / DQN_CAST(Dqn_f32)defender->hp_cap);
if (defender->hp <= 0) {