X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=skaterift.c;h=130bedfe14716564cb17662aa6e2f3d24bb4b75b;hb=6c1541ad6a2915912e7439661820a786cb145af4;hp=b72100a71e8a1da31eed74f41725eab2853d08ba;hpb=0124cd309a7db70cdd74b5661f2df8b862ca2f2f;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/skaterift.c b/skaterift.c index b72100a..130bedf 100644 --- a/skaterift.c +++ b/skaterift.c @@ -21,6 +21,7 @@ #include "player.h" #include "network.h" #include "menu.h" +#include "vehicle.h" static int cl_ui = 1, cl_view_id = 0, @@ -98,6 +99,7 @@ VG_STATIC void vg_load(void) vg_loader_step( menu_init, NULL ); vg_loader_step( world_init, NULL ); vg_loader_step( player_init, NULL ); + vg_loader_step( vehicle_init, NULL ); vg_bake_shaders(); vg_loader_step( audio_init, audio_free ); @@ -105,7 +107,7 @@ VG_STATIC void vg_load(void) /* 'systems' are completely loaded now */ strcpy( world.world_name, "maps/mp_mtzero.mdl" ); - //strcpy( world.world_name, "maps/mp_gridmap.mdl" ); + strcpy( world.world_name, "maps/mp_gridmap.mdl" ); world_load(); vg_console_load_autos(); } @@ -141,6 +143,7 @@ VG_STATIC void vg_update_fixed(void) if( vg.is_loaded ) { player_update_fixed(); + vehicle_update_fixed(); } } @@ -150,6 +153,7 @@ VG_STATIC void vg_update_post(void) { player_update_post(); menu_update(); + vehicle_update_post(); } }