X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_common.c;h=cb83d532598fcf37fd342ea44ba0fe218e9554fa;hb=02e009ae6e20938675277e9ce2f467e17b170cc7;hp=760792acc696fc60f89f9dc5d34ddf0e2a65d045;hpb=ad89a3e4bba4abe99abc48b1760822ca23d03d82;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_common.c b/player_common.c index 760792a..cb83d53 100644 --- a/player_common.c +++ b/player_common.c @@ -3,7 +3,6 @@ #include "ent_skateshop.h" #include "player.h" -#include "conf.h" #include "input.h" #include "menu.h" #include "vg/vg_perlin.h" @@ -306,18 +305,4 @@ VG_STATIC void player_look( player_instance *player, v3f angles ) angles[1] = vg_clampf( angles[1], -VG_PIf*0.5f, VG_PIf*0.5f ); } -struct player_board *player_get_player_board( struct player_instance *player ) -{ - struct player_board *board = NULL; - - if( localplayer.board_view_slot ){ - struct cache_board *cache_view = localplayer.board_view_slot; - if( cache_view->state == k_cache_board_state_loaded ){ - board = &cache_view->board; - } - } - - return board; -} - #endif /* PLAYER_COMMON_C */