hedgewars/uGears.pas
changeset 11751 20e0a72e0e2c
parent 11750 f146a3d71340
child 11805 42c11b73f68e
--- a/hedgewars/uGears.pas	Wed Apr 27 23:14:47 2016 +0200
+++ b/hedgewars/uGears.pas	Wed Apr 27 23:52:43 2016 +0200
@@ -912,8 +912,7 @@
 
 
 // divided teams: sort the hedgehogs from left to right by clan and shuffle clan members
-// let's do this even after a possible section-divide, because some hogs may have spawned randomly on flowers
-if divide then
+if divide and (not sectionDivide) then
     SortHHsByClan();
 end;