|
|
|
@ -1151,12 +1151,14 @@ ConVarRef suitcharger( "sk_suitcharger" );
@@ -1151,12 +1151,14 @@ ConVarRef suitcharger( "sk_suitcharger" );
|
|
|
|
|
|
|
|
|
|
void StripChar(char *szBuffer, const char cWhiteSpace ) |
|
|
|
|
{ |
|
|
|
|
char *src, *dst; |
|
|
|
|
|
|
|
|
|
while ( char *pSpace = strchr( szBuffer, cWhiteSpace ) ) |
|
|
|
|
for (src = dst = szBuffer; *src != '\0'; src++) |
|
|
|
|
{ |
|
|
|
|
char *pNextChar = pSpace + sizeof(char); |
|
|
|
|
V_strcpy( pSpace, pNextChar ); |
|
|
|
|
*dst = *src; |
|
|
|
|
if (*dst != cWhiteSpace) dst++; |
|
|
|
|
} |
|
|
|
|
*dst = '\0'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void CMultiplayRules::GetNextLevelName( char *pszNextMap, int bufsize, bool bRandom /* = false */ ) |
|
|
|
|