]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_null.c
fixed black fullbrights on models in realtime mode
[xonotic/darkplaces.git] / cd_null.c
index f9eb413dcaafb866b992a8bb284998f90e588f2b..e1a3a30034967a1e342185873984d26a8efbdddb 100644 (file)
--- a/cd_null.c
+++ b/cd_null.c
@@ -8,7 +8,7 @@ of the License, or (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 See the GNU General Public License for more details.
 
@@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 #include "quakedef.h"
 
-qboolean cdaudioinitialized = false;
+cvar_t cdaudioinitialized = {CVAR_READONLY,"cdaudioinitialized","0"};
 
 void CDAudio_Play(qbyte track, qboolean looping)
 {
@@ -48,9 +48,14 @@ void CDAudio_Update(void)
 
 int CDAudio_Init(void)
 {
+       Cvar_RegisterVariable(&cdaudioinitialized);
        return 0;
 }
 
+int CDAudio_Startup(void)
+{
+       return 0;
+}
 
 void CDAudio_Shutdown(void)
 {