X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_gfx.pas;h=f6558892a8263b9a338cbded80607b1cee17ed2a;hb=ac9c2149eb3d0ac7b8ae15c8c6e8a54a6c3c61b6;hp=82a45e3e21e8724a2c9b5c66864b394f0d508e1a;hpb=88ce644db1b40111bdb380f4357fa59bdb5173be;p=d2df-sdl.git diff --git a/src/game/g_gfx.pas b/src/game/g_gfx.pas index 82a45e3..f655889 100644 --- a/src/game/g_gfx.pas +++ b/src/game/g_gfx.pas @@ -98,7 +98,7 @@ begin if Width < 0 then Exit; - + if y < 0 then begin Height := Height + y; @@ -674,12 +674,12 @@ begin Green := 255; Blue := 255; Alpha := 255; - + State := STATE_NORMAL; Time := 0; LiveTime := 65535; ParticleType := PARTICLE_BUBBLES; - + CorrectOffsets(CurrentParticle); end; @@ -1254,7 +1254,7 @@ begin begin glDisable(GL_TEXTURE_2D); glPointSize(2); - + glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);