stepping
[carveJwlIkooP6JGAAIwe30JlM.git] / vehicle.h
index 4caf21cbbc91f1ad15fe553427bda84a674f717d..06c8be1f9d1301be106921f670931e6ef4c21c54 100644 (file)
--- a/vehicle.h
+++ b/vehicle.h
@@ -1,3 +1,5 @@
+
+#define VEHICLE_H
 #ifndef VEHICLE_H
 #define VEHICLE_H
 
@@ -292,7 +294,7 @@ VG_STATIC void vehicle_update_post(void)
       return;
 
    rb_debug( &gzoomer.rb, VG__WHITE );
-   vg_line( player.phys.rb.co, gzoomer.rb.co, VG__WHITE );
+   vg_line( player.rb.co, gzoomer.rb.co, VG__WHITE );
 
    /* draw friction vectors */
    v3f p0, px, py;