hedgewars/uGearsRender.pas
changeset 14778 bbec6b28d072
parent 14750 ab7bf5036314
child 14919 e28ff0f1aca2
--- a/hedgewars/uGearsRender.pas	Tue Apr 09 00:06:53 2019 +0300
+++ b/hedgewars/uGearsRender.pas	Tue Apr 09 00:45:14 2019 +0200
@@ -241,7 +241,7 @@
         repeat
         hh:= @TeamsArray[t]^.Hedgehogs[i];
         inc(i);
-        if (hh <> nil) and (hh^.Gear <> nil) then
+        if (hh <> nil) and (hh^.Gear <> nil) and (not hh^.Unplaced) then
             begin
             inc(c);
             HHGear:= hh^.Gear;