From: DeaDDooMER Date: Mon, 17 Dec 2018 11:58:57 +0000 (+0300) Subject: Fixed fish movement in acid. Thanks GranMinigun! X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=b19b82bcc5dab1662c45d00cf64b7d5d27c07d26;p=d2df-sdl.git Fixed fish movement in acid. Thanks GranMinigun! --- diff --git a/src/game/g_monsters.pas b/src/game/g_monsters.pas index f64850d..12488d6 100644 --- a/src/game/g_monsters.pas +++ b/src/game/g_monsters.pas @@ -2825,7 +2825,7 @@ begin // Ðûáà ïëûâåò ââåðõ: 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; @@ -3674,7 +3674,7 @@ begin // Ðûáà ïëûâåò ââåðõ: 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;