X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_triggers.pas;h=1bfd1883cab4b91538bc760b0fccc9e37731ae87;hb=3bac09ca2b9ebecd6f81f4fa052b081ffd40041c;hp=d1b2c67a43a94a473d45d508cb898f4d0eae6ad5;hpb=dfd3e97bffa213f5b21206b8a292b80180bab948;p=d2df-sdl.git diff --git a/src/game/g_triggers.pas b/src/game/g_triggers.pas index d1b2c67..1bfd188 100644 --- a/src/game/g_triggers.pas +++ b/src/game/g_triggers.pas @@ -805,7 +805,7 @@ begin TRIGGER_PRESS, TRIGGER_ON, TRIGGER_OFF, TRIGGER_ONOFF: begin PressCount := PressCount + 1; - + if PressTime = -1 then PressTime := Data.Wait; @@ -1166,7 +1166,7 @@ begin p := g_Player_Get(ActivateUID); if p = nil then Exit; - + if Data.ResetVel then begin p.GameVelX := 0;