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:
committed by
Zack Middleton
parent
4432a80a3c
commit
3f489fe5f2
@@ -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