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:
1 parent
4432a80a3c
commit
3f489fe5f2
1 file changed
+1
-1
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user