refactor rewind tape 1
[carveJwlIkooP6JGAAIwe30JlM.git] / player.c
index 25e4b774b8528627704c656378330addb42ef0a2..cb2a174ea4531005224ea4c33044e47324a9957d 100644 (file)
--- a/player.c
+++ b/player.c
@@ -113,18 +113,6 @@ void player__bind( player_instance *player )
 
 PLAYER_API
 void player__pre_update( player_instance *player ){
-   if( button_down( k_srbind_reset ) && !player->immobile ){
-      if( player->subsystem == k_player_subsystem_dead ){
-         localplayer_cmd_respawn( 0, NULL );
-      }
-      else{
-         /* cant do that */
-         audio_lock();
-         audio_oneshot( &audio_rewind[4], 1.0f, 0.0f );
-         audio_unlock();
-      }
-   }
-
    if( button_down( k_srbind_camera ) && !player->immobile ){
       if( player->cam_control.camera_mode == k_cam_firstperson )
          player->cam_control.camera_mode = k_cam_thirdperson;