From a45a033cebd101eee142f15cfde2e643b7404b01 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 6 Apr 2020 15:17:01 +0200 Subject: Fix compilation of game.qvm --- src/game/bg_lib.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game/bg_lib.c') diff --git a/src/game/bg_lib.c b/src/game/bg_lib.c index 69bca48..1af9107 100644 --- a/src/game/bg_lib.c +++ b/src/game/bg_lib.c @@ -830,6 +830,10 @@ double rint( double v ) return floor( v ); } +double round( double x ) { + return floor( x + 0.5 ); +} + // bk001127 - guarded this tan replacement // ld: undefined versioned symbol name tan@@GLIBC_2.0 double tan( double x ) -- cgit