diff -r 5ab22736bdb6 -r 2e5835130d9a hedgewars/VGSHandlers.inc --- a/hedgewars/VGSHandlers.inc Fri Sep 09 04:39:17 2011 +0200 +++ b/hedgewars/VGSHandlers.inc Fri Sep 09 05:15:45 2011 +0200 @@ -596,6 +596,7 @@ 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 +// ... seems to still desync, and I tried banning when targetting too if (Gear^.Timer and 5) = 0 then begin @@ -603,6 +604,7 @@ ShakeCamera(maxMovement); end; *) + if Gear^.Timer > 250 then DeleteVisualGear(Gear); end; @@ -611,6 +613,9 @@ gX,gY: LongInt; vg: PVisualGear; begin +ScreenFade:= sfFromWhite; +ScreenFadeValue:= 250; +ScreenFadeSpeed:= 5; gX:= round(Gear^.X); gY:= round(Gear^.Y); AddVisualGear(gX, gY, vgtSmokeRing);