make glider look nice
[carveJwlIkooP6JGAAIwe30JlM.git] / testing.c
index 2e581637e017e040f12b6fda8ec9c3c7e58b7f55..103f62cafeb106fb397ef7475763cc9cd8c0cbd5 100644 (file)
--- a/testing.c
+++ b/testing.c
@@ -14,6 +14,9 @@ static baller = {
 };
 
 static void testing_update(void){
+   if( !vg_console.cheats )
+      return;
+
    if( vg_getkey( SDLK_9 ) ){
       v3_add( localplayer.rb.co, (v3f){0,1,0}, baller.rb.co );
       v3_zero( baller.rb.w );