hedgewars/uGears.pas
changeset 11751 20e0a72e0e2c
parent 11750 f146a3d71340
child 11805 42c11b73f68e
equal deleted inserted replaced
11750:f146a3d71340 11751:20e0a72e0e2c
   910                     AddFileLog('Placed flower for hog at coordinates (' + inttostr(hwRound(Gear^.X)) + ',' + inttostr(hwRound(Gear^.Y)) + ')')
   910                     AddFileLog('Placed flower for hog at coordinates (' + inttostr(hwRound(Gear^.X)) + ',' + inttostr(hwRound(Gear^.Y)) + ')')
   911                     end;
   911                     end;
   912 
   912 
   913 
   913 
   914 // divided teams: sort the hedgehogs from left to right by clan and shuffle clan members
   914 // divided teams: sort the hedgehogs from left to right by clan and shuffle clan members
   915 // let's do this even after a possible section-divide, because some hogs may have spawned randomly on flowers
   915 if divide and (not sectionDivide) then
   916 if divide then
       
   917     SortHHsByClan();
   916     SortHHsByClan();
   918 end;
   917 end;
   919 
   918 
   920 
   919 
   921 {procedure AmmoFlameWork(Ammo: PGear);
   920 {procedure AmmoFlameWork(Ammo: PGear);