rename trap_Printf() to trap_Print() in the game module, as that function has nothing to do with printf()-like formatting
From /dev/humancontroller.
This commit is contained in:
1 parent
6067cadc72
commit
20c6d1e33f
5 files changed
+19
-19
No files matched your search
@@ -41,13 +41,13 @@ int PASSFLOAT( float x ) {
|
||||
return fi.i;
|
||||
}
|
||||
|
||||
void trap_Printf( const char *fmt ) {
|
||||
syscall( G_PRINT, fmt );
|
||||
void trap_Print( const char *text ) {
|
||||
syscall( G_PRINT, text );
|
||||
}
|
||||
|
||||
void trap_Error(const char *fmt)
|
||||
void trap_Error( const char *text )
|
||||
{
|
||||
syscall(G_ERROR, fmt);
|
||||
syscall( G_ERROR, text );
|
||||
// shut up GCC warning about returning functions, because we know better
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user