summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/cl_cgame.c1
-rw-r--r--src/server/sv_game.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/client/cl_cgame.c b/src/client/cl_cgame.c
index 1ec50288..c1b58f2c 100644
--- a/src/client/cl_cgame.c
+++ b/src/client/cl_cgame.c
@@ -561,6 +561,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/src/server/sv_game.c b/src/server/sv_game.c
index bde8fb95..c81c62ea 100644
--- a/src/server/sv_game.c
+++ b/src/server/sv_game.c
@@ -488,7 +488,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;
}
/*