hedgewars/uFLTeams.pas
branchqmlfrontend
changeset 11454 3c5d99013baf
parent 11446 321d0ce43568
child 11455 96decedd9400
--- a/hedgewars/uFLTeams.pas	Sat Dec 12 23:42:40 2015 +0300
+++ b/hedgewars/uFLTeams.pas	Mon Dec 14 00:24:03 2015 +0300
@@ -51,10 +51,12 @@
     with team do
     begin
         ipcToEngine('eaddteam <hash> ' + colorsSet[color] + ' ' + teamName);
+        if extDriven then
+            ipcToEngine('rdriven');
         for i:= 0 to Pred(hogsNumber) do
         begin
-            ipcToEngine('eaddhh ' + inttostr(botLevel) + ' 100 hog');// + hedgehogs[i].name);
-            //ipcToEngine('ehat ' + hedgehogs[i].hat);
+            ipcToEngine('eaddhh ' + inttostr(botLevel) + ' 100 ' + hedgehogs[i].name);
+            ipcToEngine('ehat ' + hedgehogs[i].hat);
         end;
     end
 end;