diff --git a/src/game/g_basic.pas b/src/game/g_basic.pas
index 132e76ee156f3aeb2c56eab19b16582201a059c6..1705e0e371054939c97ff485be59178684684f72 100644 (file)
--- a/src/game/g_basic.pas
+++ b/src/game/g_basic.pas
b := abs(vy);
if a = 0 then
b := abs(vy);
if a = 0 then
- c := 0
+ c := 90
else
c := RadToDeg(ArcTan(b/a));
else
c := RadToDeg(ArcTan(b/a));