From 34700516c939603691ce098b087e970f72a4110e Mon Sep 17 00:00:00 2001 From: pogokeen Date: Tue, 27 Aug 2019 13:40:00 +0000 Subject: [PATCH] kenbuild/src/game.cpp: Fix compilation issue due to removal of sqr() from pragmas.h in r7597 git-svn-id: https://svn.eduke32.com/eduke32@8051 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/kenbuild/src/game.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/kenbuild/src/game.cpp b/source/kenbuild/src/game.cpp index 8b5c0da72..1cb211f20 100644 --- a/source/kenbuild/src/game.cpp +++ b/source/kenbuild/src/game.cpp @@ -2352,6 +2352,8 @@ void tagcode(void) } } +static FORCE_INLINE int32_t sqr(int32_t a) { return a * a; } + void statuslistcode(void) { short p, target, hitobject, daang, osectnum, movestat;