summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Davis <ensiform@gmail.com>2013-01-17 15:21:29 -0600
committerTim Angus <tim@ngus.net>2013-02-16 21:50:41 +0000
commitb236ff1748a52589237e3ae7506ef9969cf6ad44 (patch)
treef06db51f05278d95810430575fbadf1ed8284468
parent7402a685eab5735153555f5b16d37e8856220ef3 (diff)
Make UI_CVAR_CREATE use VM specific code
Makes cvar be flagged as VM created and unset ROM if ARCHIVE is set.
-rw-r--r--src/client/cl_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_ui.c b/src/client/cl_ui.c
index 6f631874..049260d2 100644
--- a/src/client/cl_ui.c
+++ b/src/client/cl_ui.c
@@ -743,7 +743,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: