diff --git a/code/client/cl_cgame.c b/code/client/cl_cgame.c index e87ce7a2..8e7a38e9 100644 --- a/code/client/cl_cgame.c +++ b/code/client/cl_cgame.c @@ -548,6 +548,7 @@ intptr_t CL_CgameSystemCalls( intptr_t *args ) { return re.RegisterShaderNoMip( VMA(1) ); case CG_R_REGISTERFONT: re.RegisterFont( VMA(1), args[2], VMA(3)); + return 0; case CG_R_CLEARSCENE: re.ClearScene(); return 0; diff --git a/code/server/sv_game.c b/code/server/sv_game.c index c1bb2df8..7c8542eb 100644 --- a/code/server/sv_game.c +++ b/code/server/sv_game.c @@ -534,7 +534,7 @@ intptr_t SV_GameSystemCalls( intptr_t *args ) { case BOTLIB_EA_ACTION: botlib_export->ea.EA_Action( args[1], args[2] ); - break; + return 0; case BOTLIB_EA_GESTURE: botlib_export->ea.EA_Gesture( args[1] ); return 0; @@ -840,7 +840,7 @@ intptr_t SV_GameSystemCalls( intptr_t *args ) { default: Com_Error( ERR_DROP, "Bad game system trap: %ld", (long int) args[0] ); } - return -1; + return 0; } /*