Fix for 3dfx target using lsh's macros

This commit is contained in:
Joseph Carter 2000-02-03 09:55:11 +00:00
parent 8349f3e59f
commit afe3589124

View file

@ -22,13 +22,13 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "qtypes.h"
#include "quakedef.h"
#include "glquake.h"
#include "sys.h"
#include "console.h"
#include "cvar.h"
#include "sound.h"
#include <qtypes.h>
#include <quakedef.h>
#include <glquake.h>
#include <sys.h>
#include <console.h>
#include <cvar.h>
#include <sound.h>
#include <lib_replace.h>
#include <stdio.h>
@ -201,9 +201,9 @@ void VID_SetPalette (unsigned char *palette)
snprintf(s, sizeof(s), "%s/glquake", com_gamedir);
Sys_mkdir (s);
snprintf(s, sizeof(s), "%s/glquake/15to8.pal", com_gamedir);
if ((f = fopen(s, "wb")) != NULL) {
fwrite(d_15to8table, 1<<15, 1, f);
fclose(f);
if ((f = gzopen(s, "wb")) != NULL) {
gzwrite(d_15to8table, 1<<15, 1);
gzclose(f);
}
//#endif // QUAKEWORLD
}