diff options
Diffstat (limited to 'src/game/bg_lib.c')
-rw-r--r-- | src/game/bg_lib.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 ) |