Make UI_CVAR_CREATE use VM specific code

Makes cvar be flagged as VM created and unset ROM if ARCHIVE is set.
This commit is contained in:
Jeremy Davis authored and Zack Middleton committed 2013-01-17 15:21:29 -06:00
1 parent 4432a80a3c
commit 3f489fe5f2
1 file changed
+1 -1
+1 -1
View File
@@ -750,7 +750,7 @@ intptr_t CL_UISystemCalls( intptr_t *args ) {
return 0;
case UI_CVAR_CREATE:
Cvar_Get( VMA(1), VMA(2), args[3] );
Cvar_Register( NULL, VMA(1), VMA(2), args[3] );
return 0;
case UI_CVAR_INFOSTRINGBUFFER: