DEADSOFTWARE

render code cleanup; collision code cleanup; reverted useless "speedup"
[d2df-sdl.git] / src / game / g_basic.pas
index 132e76ee156f3aeb2c56eab19b16582201a059c6..67285caa60e8cb5349cdd9f606ca1a66dc7f70ca 100644 (file)
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *)
-{$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));