summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7865a47)
raw | patch | inline | side by side (parent: 7865a47)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 30 Jul 2018 11:42:32 +0000 (14:42 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 30 Jul 2018 11:42:59 +0000 (14:42 +0300) |
src/game/g_phys.pas | patch | blob | history |
diff --git a/src/game/g_phys.pas b/src/game/g_phys.pas
index ea245f92e9861133d7a1560481a267d599c00503..1e543d4f4b31c980be889bbdad0c5088d8783a24 100644 (file)
--- a/src/game/g_phys.pas
+++ b/src/game/g_phys.pas
}
// Âûëåòåë çà íèæíþþ ãðàíèöó êàðòû?
- if (Obj^.Y > gMapInfo.Height+128) then begin result := MOVE_FALLOUT; Obj.slopeUpLeft := 0; Obj.slopeFramesLeft := 0; exit; end;
+ if (Obj^.Y > Integer(gMapInfo.Height)+128) then begin result := MOVE_FALLOUT; Obj.slopeUpLeft := 0; Obj.slopeFramesLeft := 0; exit; end;
// Ìåíÿåì ñêîðîñòü è óñêîðåíèå òîëüêî ïî ÷åòíûì êàäðàì
c := (gTime mod (GAME_TICK*2) <> 0);