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:
parent
6067cadc72
commit
20c6d1e33f
5 changed files with 19 additions and 19 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue