From 494f09f80c10494509b8ed514df1a1365ca55dfc Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 27 Jul 2017 10:02:13 +0000 Subject: [PATCH] Build fix git-svn-id: https://svn.eduke32.com/eduke32@6386 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/gameexec.cpp | 2 +- source/duke3d/src/gameexec.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/duke3d/src/gameexec.cpp b/source/duke3d/src/gameexec.cpp index 4f78523fc..bce69211a 100644 --- a/source/duke3d/src/gameexec.cpp +++ b/source/duke3d/src/gameexec.cpp @@ -499,7 +499,7 @@ void A_Fall(int const spriteNum) } } -int G_GetAngleDelta(int currAngle, int newAngle) +int32_t __fastcall G_GetAngleDelta(int32_t currAngle, int32_t newAngle) { currAngle &= 2047; newAngle &= 2047; diff --git a/source/duke3d/src/gameexec.h b/source/duke3d/src/gameexec.h index bcfd48d64..67f653245 100644 --- a/source/duke3d/src/gameexec.h +++ b/source/duke3d/src/gameexec.h @@ -51,7 +51,7 @@ void A_Execute(int spriteNum, int playerNum, int playerDist); void A_Fall(int const spriteNum); int32_t A_GetFurthestAngle(int const spriteNum, int const angDiv); void A_GetZLimits(int const spriteNum); -int G_GetAngleDelta(int a, int na); +int32_t __fastcall G_GetAngleDelta(int32_t currAngle, int32_t newAngle); void G_RestoreMapState(); void G_SaveMapState();