aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
Diffstat (limited to 'code/server')
-rwxr-xr-xcode/server/sv_game.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/code/server/sv_game.c b/code/server/sv_game.c
index 387b1a8..6c1faf8 100755
--- a/code/server/sv_game.c
+++ b/code/server/sv_game.c
@@ -828,11 +828,8 @@ int SV_GameSystemCalls( int *args ) {
return 0;
case TRAP_STRNCPY:
-#warning 64bit broken!
-// Com_Printf("%s:%d %s() *** return value of TRAP_STRNCPY not 64bit clean\n", __FILE__, __LINE__, __FUNCTION__);
-// Com_Printf("%s %d\n", VMA(2), args[3]);
strncpy( VMA(1), VMA(2), args[3] );
- return 0;
+ return args[1];
case TRAP_SIN:
return FloatAsInt( sin( VMF(1) ) );