Fixed str_cvar.
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Sep 2004 18:41:51 +0000 (18:41 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Sep 2004 18:41:51 +0000 (18:41 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4512 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c

index 4e7712e79c7872805a55697985f96cf95a67a1fe..503fafc6cf7562830e9f2a0214d1838ade289ff3 100644 (file)
@@ -711,7 +711,7 @@ void VM_str_cvar(void)
        
        strcpy(out, cvar_string);
 
-       PRVM_G_INT(OFS_PARM0) = PRVM_SetString(out);
+       PRVM_G_INT(OFS_RETURN) = PRVM_SetString(out);
 }
 
 /*