oops
[carveJwlIkooP6JGAAIwe30JlM.git] / player_common.c
index df219ef5423fe54fa8a8ecf13c647d3029dbc0f1..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,26 +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 ){
-   if( localplayer.board_view_slot ){
-      struct cache_board *cache_view = localplayer.board_view_slot;
-      if( cache_view->state == k_cache_board_state_loaded ){
-         return &cache_view->board;
-      }
-   }
-
-   return NULL;
-}
-
-struct player_model *player_get_player_model( struct player_instance *player ){
-   if( localplayer.playermodel_view_slot ){
-      struct cache_playermodel *cache_view = localplayer.playermodel_view_slot;
-      if( cache_view->state == k_cache_board_state_loaded ){
-         return &cache_view->model;
-      }
-   }
-
-   return NULL;
-}
-
 #endif /* PLAYER_COMMON_C */