[quake3-bugzilla] [Bug 4357] New: CVAR_ROM+CVAR_ARCHIVE is not read from q3config.

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Tue Dec 8 08:17:20 EST 2009


http://bugzilla.icculus.org/show_bug.cgi?id=4357

           Summary: CVAR_ROM+CVAR_ARCHIVE is not read from q3config.
           Product: ioquake3
           Version: SVN HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: icculus at poulsander.com
         QAContact: quake3-bugzilla at icculus.org
                CC: kamikaze at bsdforen.de


Poul Sander <icculus at poulsander.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|PC                          |All
         OS/Version|Linux                       |All

Dominic Fandrey <kamikaze at bsdforen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kamikaze at bsdforen.de

Since r1745 vm defined cvars that has both cvar_rom and cvar_archive does not
get restored from q3config.cfg (they are written corrently). The most noteble
example is g_spScores*.

The problem appears to be this channge:
-        if ( ( var->flags & CVAR_USER_CREATED ) && !( flags &
CVAR_USER_CREATED )
-            && var_value[0] ) {
+        if(var->flags & CVAR_USER_CREATED)
+        {

Changing the line into:
if( (flags & CVAR_ROM) && !(flags & CVAR_ARCHIVE) ) {
can be used as a workaround.

I am not sure what is the best solution as it might break the game restart
reset function.

Should values read from q3config even be marked as user created in the first
place?

--- Comment #1 from Dominic Fandrey <kamikaze at bsdforen.de> 2009-12-08 08:17:15 EST ---
I can confirm this bug with r1753 on FreeBSD amd64.

Very annoying.

-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list