A complete workshop implementation, I guess
[carveJwlIkooP6JGAAIwe30JlM.git] / player_common.c
index 5c5dda1fef5554398698b41437e16246688a9fca..f807e3a580f2213b41700d96fc85b9c7e15d73ef 100644 (file)
@@ -264,9 +264,9 @@ struct player_board *player_get_player_board( struct player_instance *player )
    struct player_board *board = NULL;
 
    if( localplayer.board_view_slot ){
-      struct dynamic_board *vs = localplayer.board_view_slot;
-      if( vs->state == k_dynamic_board_state_loaded ){
-         board = &vs->board;
+      struct cache_board *cache_view = localplayer.board_view_slot;
+      if( cache_view->state == k_cache_board_state_loaded ){
+         board = &cache_view->board;
       }
    }