diff options
Diffstat (limited to 'code/client/cl_cgame.c')
-rwxr-xr-x | code/client/cl_cgame.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/code/client/cl_cgame.c b/code/client/cl_cgame.c index 19ac57e..c2f6df7 100755 --- a/code/client/cl_cgame.c +++ b/code/client/cl_cgame.c @@ -623,10 +623,8 @@ int CL_CgameSystemCalls( int *args ) { Com_Memcpy( VMA(1), VMA(2), args[3] ); return 0; case CG_STRNCPY: -#warning 64bit broken! strncpy( VMA(1), VMA(2), args[3] ); -// Com_Printf("%s:%d %s() *** return value of CG_STRNCPY not 64bit clean\n", __FILE__, __LINE__, __FUNCTION__); - return 0; + return args[1]; case CG_SIN: return FloatAsInt( sin( VMF(1) ) ); case CG_COS: |