X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.c;h=cb2a174ea4531005224ea4c33044e47324a9957d;hb=09be4380a98386d6494946fbd3369458f8e7f267;hp=25e4b774b8528627704c656378330addb42ef0a2;hpb=9eb3de757a997becb8406417a4bf613f4cb04900;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.c b/player.c index 25e4b77..cb2a174 100644 --- 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;