[quake3-commits] [ioquake/ioq3] 0f62a5: Fix setting CVAR_VM_CREATED flag on user created c...

Zack Middleton zturtleman at gmail.com
Sat Apr 6 02:08:59 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 0f62a565f95893a582b91a8902b7e5e9227efc63
      https://github.com/ioquake/ioq3/commit/0f62a565f95893a582b91a8902b7e5e9227efc63
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-04-05 (Fri, 05 Apr 2013)

  Changed paths:
    M code/qcommon/cvar.c

  Log Message:
  -----------
  Fix setting CVAR_VM_CREATED flag on user created cvars

Fix setting CVAR_VM_CREATED flag on cvars created using set[asu] commands (including archived cvars from cfg) and trap_Cvar_Set.

trap_Cvar_Register called Cvar_Get which cleared CVAR_USER_CREATED flag, but CVAR_VM_CREATED wasn't set because the cvar already existed.





More information about the quake3-commits mailing list