rail targeting
[carveJwlIkooP6JGAAIwe30JlM.git] / skaterift.c
index d4bf10ca42d014aec0c14148abf60750ec634e3f..ba26edd6ed97c61d444c948f1ef7541279c43532 100644 (file)
@@ -11,8 +11,6 @@
  * =============================================================================
  */
 
-#define VG_STATIC static
-#define VG_GAME
 #define SR_NETWORKED
 
 #include "common.h"
@@ -97,6 +95,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" );
    world_load();
    vg_console_load_autos();
 }
@@ -244,6 +243,7 @@ VG_STATIC void render_main_game(void)
 VG_STATIC void vg_render(void)
 {
    glBindFramebuffer( GL_FRAMEBUFFER, 0 );
+
    glViewport( 0,0, vg.window_x, vg.window_y );
    glDisable( GL_DEPTH_TEST );
 
@@ -252,7 +252,6 @@ VG_STATIC void vg_render(void)
 
    render_main_game();
    
-   
    /* Other shite */
    glDisable(GL_BLEND);
    glDisable( GL_DEPTH_TEST );