{
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;
budget -= advt;
}
-#if 0
- if( player.dist_accum >= 5.0f )
- {
- audio_lock();
- audio_player_playclip( &audio_rewind_player, &audio_rewind[4] );
- audio_unlock();
-
- player.dist_accum -= 5.0f;
- }
-#endif
-
player.rewind_time = vg_maxf( 0.0f, player.rewind_time );
float current_time = vg.time - player.diag_rewind_start,