mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
This commit is contained in:
@@ -183,8 +183,8 @@ size_t Q_strncpy( char *dst, const char *src, size_t size )
|
||||
|
||||
int Q_atoi( const char *str )
|
||||
{
|
||||
int val = 0;
|
||||
int c, sign;
|
||||
int val = 0;
|
||||
int c, sign;
|
||||
|
||||
if( !str ) return 0;
|
||||
|
||||
@@ -361,7 +361,7 @@ int Q_strnicmp( const char *s1, const char *s2, int n )
|
||||
else if( s2 == NULL )
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
do {
|
||||
c1 = *s1++;
|
||||
|
||||
@@ -133,7 +133,7 @@ void RoundUpHullSize( vec3_t size )
|
||||
for( i = 0; i < 3; i++)
|
||||
{
|
||||
qboolean negative = false;
|
||||
float result, value;
|
||||
float result, value;
|
||||
|
||||
value = size[i];
|
||||
if( value < 0.0f ) negative = true;
|
||||
@@ -142,7 +142,7 @@ void RoundUpHullSize( vec3_t size )
|
||||
|
||||
// lookup hull table to find nearest supposed value
|
||||
for( j = 0; j < NUM_HULL_ROUNDS; j++ )
|
||||
{
|
||||
{
|
||||
if( value > hull_table[j] )
|
||||
continue; // ceil only
|
||||
|
||||
|
||||
Reference in New Issue
Block a user