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