summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ded8932)
raw | patch | inline | side by side (parent: ded8932)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 17 Dec 2018 11:58:57 +0000 (14:58 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 17 Dec 2018 11:58:57 +0000 (14:58 +0300) |
src/game/g_monsters.pas | patch | blob | history |
index f64850d987b63ac67334ff6b6a78d3118b8cc19f..12488d6e1c69aedad84bdaf0207800bf6a479347 100644 (file)
--- a/src/game/g_monsters.pas
+++ b/src/game/g_monsters.pas
// Ðûáà ïëûâåò ââåðõ:
if FObj.Vel.Y < 0 then
- if not g_Obj_CollideWater(@FObj, 0, -16) then
+ if not g_Obj_CollideLiquid(@FObj, 0, -16) then
begin
// Âñïëûëè äî ïîâåðõíîñòè - ñòîï:
FObj.Vel.Y := 0;
// Ðûáà ïëûâåò ââåðõ:
if FObj.Vel.Y < 0 then
- if not g_Obj_CollideWater(@FObj, 0, -16) then
+ if not g_Obj_CollideLiquid(@FObj, 0, -16) then
begin
// Âñïëûëè äî ïîâåðõíîñòè - ñòîï:
FObj.Vel.Y := 0;