Use Com_Error instead of Sys_Error

This commit is contained in:
Yamagi Burmeister 2012-06-02 13:31:20 +02:00
parent 9823a23a91
commit e11a15308b

View file

@ -301,7 +301,7 @@ VID_LoadRefresh ( char *name )
( ( IN_BackendMouseButtons_fp = dlsym( reflib_library, "IN_BackendMouseButtons" ) ) == NULL ) ||
( ( IN_BackendMove_fp = dlsym( reflib_library, "IN_BackendMove" ) ) == NULL ) )
{
Sys_Error( "No input backend init functions in REF.\n" );
Com_Error( ERR_FATAL, "No input backend init functions in REF.\n" );
}
if ( IN_BackendInit_fp )
@ -321,7 +321,7 @@ VID_LoadRefresh ( char *name )
( ( IN_Update_fp = dlsym( reflib_library, "IN_Update" ) ) == NULL ) ||
( ( IN_Close_fp = dlsym( reflib_library, "IN_Close" ) ) == NULL ) )
{
Sys_Error( "No keyboard input functions in REF.\n" );
Com_Error( ERR_FATAL, "No keyboard input functions in REF.\n" );
}
IN_KeyboardInit_fp( Do_Key_Event );