hedgewars/uGears.pas
changeset 1738 00e8dadce69a
parent 1717 f4cf7e36ae3e
child 1753 2ccba26f1aa4
--- a/hedgewars/uGears.pas	Tue Jan 20 20:26:09 2009 +0000
+++ b/hedgewars/uGears.pas	Thu Jan 22 17:53:39 2009 +0000
@@ -423,6 +423,7 @@
 function CheckNoDamage: boolean; // returns TRUE in case of no damaged hhs
 var Gear: PGear;
 begin
+SweepDirty; // convenient place to clean up pixels after damage is run 
 CheckNoDamage:= true;
 Gear:= GearsList;
 while Gear <> nil do