Revert protocol 69 pending further discussion (#4962)
This commit is contained in:
1 parent
88693f9abd
commit
d34c6b7e0b
12 files changed
+247
-508
No files matched your search
@@ -962,7 +962,7 @@ int Q_CountChar(const char *string, char tocount)
|
||||
return count;
|
||||
}
|
||||
|
||||
int QDECL Com_sprintf(char *dest, int size, const char *fmt, ...)
|
||||
void QDECL Com_sprintf(char *dest, int size, const char *fmt, ...)
|
||||
{
|
||||
int len;
|
||||
va_list argptr;
|
||||
@@ -973,8 +973,6 @@ int QDECL Com_sprintf(char *dest, int size, const char *fmt, ...)
|
||||
|
||||
if(len >= size)
|
||||
Com_Printf("Com_sprintf: Output length %d too short, require %d bytes.\n", size, len);
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user