hedgewars/uLandGraphics.pas
changeset 767 697728ffe39f
parent 766 cdc8f75ab7bc
child 768 2886dafa5bcf
--- a/hedgewars/uLandGraphics.pas	Sun Jan 27 17:27:13 2008 +0000
+++ b/hedgewars/uLandGraphics.pas	Sun Jan 27 18:39:02 2008 +0000
@@ -223,7 +223,7 @@
 if SDL_MustLock(LandSurface) then
    SDL_UnlockSurface(LandSurface);
 
-UpdateLandTexture
+UpdateLandTexture(Y - Radius, 2 * Radius)
 end;
 
 procedure DrawHLinesExplosions(ar: PRangeArray; Radius: LongInt; y, dY: LongInt; Count: Byte);
@@ -255,7 +255,7 @@
 if SDL_MustLock(LandSurface) then
    SDL_UnlockSurface(LandSurface);
 
-UpdateLandTexture
+//UpdateLandTexture
 end;
 
 //
@@ -323,7 +323,7 @@
 if SDL_MustLock(LandSurface) then
    SDL_UnlockSurface(LandSurface);
 
-UpdateLandTexture
+//UpdateLandTexture
 end;
 
 function TryPlaceOnLand(cpX, cpY: LongInt; Obj: TSprite; Frame: LongInt; doPlace: boolean): boolean;