Comment out the desyncing block, with a suggestion for possible fix
authornemo
Sun, 16 May 2010 23:02:49 +0000
changeset 3466 78d9fa9a700e
parent 3465 b290993c0810
child 3467 14bed9d4ed91
Comment out the desyncing block, with a suggestion for possible fix
hedgewars/VGSHandlers.inc
--- a/hedgewars/VGSHandlers.inc	Sun May 16 19:24:38 2010 +0000
+++ b/hedgewars/VGSHandlers.inc	Sun May 16 23:02:49 2010 +0000
@@ -518,11 +518,15 @@
 begin
 
 inc(Gear^.Timer, Steps);
+(*
+FIXME - This block desyncs due to the way WorldDx is important for various things network related.
+One possible solution is, instead of using WorldDx, to use straight gl/SDL calls to jitter the screen a bit.
 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;