reverse skate into glider
[carveJwlIkooP6JGAAIwe30JlM.git] / testing.c
index af79381488b15d3846d25dcaa27566c364644586..0f5b9bc320b11dfce16bed7aebbf66ad45baa848 100644 (file)
--- a/testing.c
+++ b/testing.c
@@ -21,6 +21,12 @@ static void testing_update(void){
       q_identity( baller.rb.q );
       rb_update_matrices( &baller.rb );
    }
+
+   if( vg_getkey( SDLK_8 ) ){
+      localplayer.have_glider = 1;
+      localplayer.glider_orphan = 0;
+   }
+
    vg_line_boxf_transformed( baller.rb.to_world, baller.box, VG__RED );
 
    world_instance *world = world_current_instance();