quite a lot of changes
[carveJwlIkooP6JGAAIwe30JlM.git] / player_common.c
index 760792acc696fc60f89f9dc5d34ddf0e2a65d045..cb83d532598fcf37fd342ea44ba0fe218e9554fa 100644 (file)
@@ -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 */