hedgewars/VGSHandlers.inc
changeset 5800 3a04c30e5ac7
parent 5596 555c4fc1f3bd
child 5803 87a5d2502904
--- a/hedgewars/VGSHandlers.inc	Wed Sep 07 15:06:42 2011 -0400
+++ b/hedgewars/VGSHandlers.inc	Wed Sep 07 20:12:20 2011 -0400
@@ -587,7 +587,7 @@
 
 ////////////////////////////////////////////////////////////////////////////////
 procedure doStepBigExplosionWork(Gear: PVisualGear; Steps: Longword);
-//var maxMovement: LongInt;
+var maxMovement: LongInt;
 begin
 
 inc(Gear^.Timer, Steps);
@@ -596,13 +596,13 @@
 One possible solution is, instead of using WorldDx, to use straight gl/SDL calls to jitter the screen a bit.
 
 // a comment by unC0Rr: instead of changing WorldDx shake cursor coordinates, that should be safe
+*)
 
 if (Gear^.Timer and 5) = 0 then
     begin
     maxMovement := max(1, 13 - ((Gear^.Timer * 15) div 250));
     ShakeCamera(maxMovement);
     end;
-*)
 if Gear^.Timer > 250 then DeleteVisualGear(Gear);
 end;