# HG changeset patch # User sheepluva # Date 1453574995 -3600 # Node ID c6bae7605ea42b796b0a63a25838bde404fe91da # Parent 50636bc6d1455be13caf92364d0e55ff84fa045b fixing my math... I think ;p diff -r 50636bc6d145 -r c6bae7605ea4 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Sat Jan 23 11:00:31 2016 +0100 +++ b/hedgewars/uWorld.pas Sat Jan 23 19:49:55 2016 +0100 @@ -1383,7 +1383,7 @@ SetScale(cDefaultZoomLevel); // cinematic effects -if CinematicScript or (InCinematicMode +if CinematicScript or (InCinematicMode and autoCameraOn and ((CurrentHedgehog = nil) or CurrentHedgehog^.Team^.ExtDriven or (CurrentHedgehog^.BotLevel <> 0) or (GameType = gmtDemo))) then begin @@ -1785,7 +1785,7 @@ WorldDx:= WorldDx + LongInt(rightX) - leftX; end; -wdy:= trunc(cScreenHeight / cScaleFactor) + cScreenHeight div 2 - cWaterLine - (cVisibleWater + CinematicBarH); +wdy:= trunc(cScreenHeight / cScaleFactor) + cScreenHeight div 2 - cWaterLine - (cVisibleWater + trunc(CinematicBarH / (cScaleFactor / 2.0))); if WorldDy < wdy then WorldDy:= wdy;