X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_basic.pas;h=67285caa60e8cb5349cdd9f606ca1a66dc7f70ca;hb=081ca9c0120de313aae7a94d1fe50b275cf2176d;hp=132e76ee156f3aeb2c56eab19b16582201a059c6;hpb=5472594f32e33da0c66606ec9eebc8f798ef6b54;p=d2df-sdl.git diff --git a/src/game/g_basic.pas b/src/game/g_basic.pas index 132e76e..67285ca 100644 --- a/src/game/g_basic.pas +++ b/src/game/g_basic.pas @@ -13,7 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . *) -{$MODE DELPHI} +{$INCLUDE ../shared/a_modes.inc} unit g_basic; interface @@ -513,7 +513,7 @@ begin b := abs(vy); if a = 0 then - c := 0 + c := 90 else c := RadToDeg(ArcTan(b/a));