1 parent
f86f8e8ed8
commit
c754d6fdfb
15 files changed
+91
-108
No files matched your search
@@ -400,11 +400,9 @@ void CL_ShutdownCGame( void ) {
|
||||
}
|
||||
|
||||
static int FloatAsInt( float f ) {
|
||||
int temp;
|
||||
|
||||
*(float *)&temp = f;
|
||||
|
||||
return temp;
|
||||
floatint_t fi;
|
||||
fi.f = f;
|
||||
return fi.i;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+3
-5
@@ -691,11 +691,9 @@ FloatAsInt
|
||||
====================
|
||||
*/
|
||||
static int FloatAsInt( float f ) {
|
||||
int temp;
|
||||
|
||||
*(float *)&temp = f;
|
||||
|
||||
return temp;
|
||||
floatint_t fi;
|
||||
fi.f = f;
|
||||
return fi.i;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user