--- a/hedgewars/uGearsList.pas Mon Feb 08 14:58:36 2016 +0300
+++ b/hedgewars/uGearsList.pas Tue Feb 09 14:40:06 2016 +0300
@@ -150,7 +150,8 @@
AddFileLog('Attempted to remove Gear #'+inttostr(Gear^.uid)+' from the list twice.');
exit
end;
-if checkFails((Gear = nil) or (curHandledGear = nil) or (Gear = curHandledGear), 'You''re doing it wrong', true) then exit;
+
+checkFails((Gear = nil) or (curHandledGear = nil) or (Gear = curHandledGear), 'You''re doing it wrong', true);
if Gear^.NextGear <> nil then
Gear^.NextGear^.PrevGear:= Gear^.PrevGear;