Fixed STRNCPY system calls.
This commit is contained in:
@@ -828,7 +828,8 @@ int SV_GameSystemCalls( int *args ) {
|
||||
return 0;
|
||||
|
||||
case TRAP_STRNCPY:
|
||||
return (int)strncpy( VMA(1), VMA(2), args[3] );
|
||||
strncpy( VMA(1), VMA(2), args[3] );
|
||||
return args[1];
|
||||
|
||||
case TRAP_SIN:
|
||||
return FloatAsInt( sin( VMF(1) ) );
|
||||
|
||||
Reference in New Issue
Block a user