parent
f86f8e8ed8
commit
c754d6fdfb
15 changed files with 91 additions and 108 deletions
|
@ -288,14 +288,9 @@ void SV_GetUsercmd( int clientNum, usercmd_t *cmd ) {
|
|||
//==============================================
|
||||
|
||||
static int FloatAsInt( float f ) {
|
||||
union
|
||||
{
|
||||
int i;
|
||||
float f;
|
||||
} temp;
|
||||
|
||||
temp.f = f;
|
||||
return temp.i;
|
||||
floatint_t fi;
|
||||
fi.f = f;
|
||||
return fi.i;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue