X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.h;h=0b6db882031480bbd9a803f33649955b96c732c2;hb=bdac014448b6ec968fe645f1581f321144f07dba;hp=5a21afe662a2248252ecc776ecb7f5820e5ed64b;hpb=47941822dae18a018c985847b052e70214a3ccc6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.h b/player.h index 5a21afe..0b6db88 100644 --- a/player.h +++ b/player.h @@ -302,7 +302,7 @@ VG_STATIC void player_update_pre(void) { double delta = world.time - world.last_use; - if( delta <= RESET_MAX_TIME ) + if( (delta <= RESET_MAX_TIME) && (world.last_use != 0.0) ) { player.rewinding = 1; player.rewind_sound_wait = 1;