deactivate challenge on max dist
[carveJwlIkooP6JGAAIwe30JlM.git] / ent_objective.c
index ee52af7518ff12062a82380925cca437e57a1bb9..c037eaf5cbb5cb5afe1d55527a5c4c59317cc341 100644 (file)
@@ -89,9 +89,10 @@ VG_STATIC void ent_objective_call( world_instance *world, ent_call *call ){
          else {
             audio_oneshot_3d( &audio_challenge[6], localplayer.rb.co,
                               30.0f, 1.0f );
-            vg_error( "challenge fialed\n" );
+            vg_error( "challenge failed\n" );
             world_static.challenge_target = NULL;
             world_static.challenge_timer = 0.0f;
+            world_static.focused_entity = 0;
          }
       }
    }