force model array alignment
[carveJwlIkooP6JGAAIwe30JlM.git] / player_render.c
index b0f35e1d81151f0bb7e50bb9a09eb82bc06898c9..b0416f5f3e927c946ebbe7a7ea6b46719dea1c61 100644 (file)
@@ -15,6 +15,9 @@
 #include "shaders/model_board_view.h"
 #include "depth_compare.h"
 
+#include "network.h"
+#include "player_remote.h"
+
 static void player_load_animation_reference( const char *path ){
    mdl_context *meta = &localplayer.skeleton_meta;
    mdl_open( meta, path, vg_mem.rtmemory );
@@ -86,7 +89,7 @@ static void player_board_load( struct player_board *board,
    dynamic_model_load( &ctx, &board->mdl, path );
 
    mdl_array_ptr markers;
-   mdl_load_array( &ctx, &markers, "ent_marker", vg_mem.scratch );
+   MDL_LOAD_ARRAY( &ctx, &markers, ent_marker, vg_mem.scratch );
 
    /* TODO: you get put into a new section, the above is standard mdl loads. */
    for( int i=0; i<4; i++ )