hedgewars/uGears.pas
changeset 4808 7c3e5b52344a
parent 4806 48c1a395f0a7
child 4809 9c7d5f802618
--- a/hedgewars/uGears.pas	Sun Jan 02 13:54:28 2011 +0100
+++ b/hedgewars/uGears.pas	Sun Jan 02 18:12:16 2011 +0100
@@ -1091,12 +1091,6 @@
 begin
 AddGear(0, 0, gtATStartGame, 0, _0, _0, 2000);
 
-if (TrainingFlags and tfSpawnTargets) <> 0 then
-    begin
-    TrainingTargetGear:= AddGear(0, 0, gtTarget, 0, _0, _0, 0);
-    FindPlace(TrainingTargetGear, false, 0, LAND_WIDTH);
-    end;
-
 for i:= 0 to Pred(cLandMines) do
     begin
     Gear:= AddGear(0, 0, gtMine, 0, _0, _0, 0);
@@ -1894,7 +1888,6 @@
     SuddenDeath:= false;
     SuddenDeathDmg:= false;
     SpeechType:= 1;
-    TrainingTargetGear:= nil;
     skipFlag:= false;
 
     AllInactive:= false;