mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-23 04:32:28 +00:00
IOQ3 commit 2093
This commit is contained in:
parent
ab4afce653
commit
6611d258fe
2 changed files with 3 additions and 2 deletions
|
@ -2090,7 +2090,7 @@ void CG_UpdateMessageQueue(void);
|
|||
void CG_AddMessage(const char* msg);
|
||||
|
||||
void QDECL CG_Printf( const char *msg, ... ) __attribute__ ((format (printf, 1, 2)));
|
||||
void QDECL CG_Error( const char *msg, ... ) __attribute__ ((format (printf, 1, 2)));
|
||||
void QDECL CG_Error( const char *msg, ... ) __attribute__ ((noreturn, format (printf, 1, 2)));
|
||||
|
||||
void CG_StartMusic(void);
|
||||
|
||||
|
@ -2426,7 +2426,7 @@ void CG_CheckChangedPredictableEvents(playerState_t * ps);
|
|||
void trap_Print(const char *fmt);
|
||||
|
||||
// abort the game
|
||||
void trap_Error(const char *fmt);
|
||||
void trap_Error(const char *fmt) __attribute__((noreturn));
|
||||
|
||||
// milliseconds should only be used for performance tuning, never
|
||||
// for anything game related. Get time from the CG_DrawActiveFrame parameter
|
||||
|
|
|
@ -54,6 +54,7 @@ void trap_Print(const char *fmt)
|
|||
void trap_Error(const char *fmt)
|
||||
{
|
||||
syscall(CG_ERROR, fmt);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
int trap_Milliseconds(void)
|
||||
|
|
Loading…
Reference in a new issue