X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.h;h=8a0b17d28552f3992c99874bd746d4987f59da95;hb=0a33f65eecb5e75cddaefa08d3a5eb1a301d0479;hp=8923cf9190f6352631567a7a14b78614b44fabea;hpb=34a8df54eb962f3ad2e036355041f5bc5cabe5a0;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.h b/player.h index 8923cf9..8a0b17d 100644 --- a/player.h +++ b/player.h @@ -51,7 +51,7 @@ struct player_instance cam_land_punch, cam_land_punch_v; - teleport_gate *gate_waiting; + ent_gate *gate_waiting; /* * Input @@ -119,9 +119,9 @@ void (*_player_bind[])( player_instance *player ) = }; VG_STATIC -void (*_player_reset[])( player_instance *player, struct respawn_point *rp ) = +void (*_player_reset[])( player_instance *player, ent_spawn *rp ) = { - NULL, + player__walk_reset, player__skate_reset, NULL }; @@ -414,7 +414,6 @@ VG_STATIC void player_init(void) /* 1 */ VG_VAR_I32( cl_thirdperson ); VG_VAR_F32_PERSISTENT( fc_speed ); - /* TODO: NOT PERSISTENT */ VG_VAR_F32( k_ragdoll_limit_scale ); VG_VAR_I32( k_ragdoll_div ); VG_VAR_I32( k_ragdoll_debug_collider );