mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-30 16:01:46 +00:00
Do use the SV_Game{Error,Print} functions (#4972)
This commit is contained in:
parent
bd2f6dbf05
commit
1062c1b87b
1 changed files with 2 additions and 2 deletions
|
@ -300,10 +300,10 @@ The module is making a system call
|
|||
intptr_t SV_GameSystemCalls( intptr_t *args ) {
|
||||
switch( args[0] ) {
|
||||
case G_PRINT:
|
||||
Com_Printf( "%s", (const char*)VMA(1) );
|
||||
SV_GamePrintf((const char*) VMA(1));
|
||||
return 0;
|
||||
case G_ERROR:
|
||||
Com_Error( ERR_DROP, "%s", (const char*)VMA(1) );
|
||||
SV_GameError((const char*) VMA(1));
|
||||
return 0;
|
||||
case G_MILLISECONDS:
|
||||
return Sys_Milliseconds();
|
||||
|
|
Loading…
Reference in a new issue