?
[carveJwlIkooP6JGAAIwe30JlM.git] / skaterift.c
index b72100a71e8a1da31eed74f41725eab2853d08ba..130bedfe14716564cb17662aa6e2f3d24bb4b75b 100644 (file)
@@ -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();
    }
 }