missed this fopen->Qopen conversion

This commit is contained in:
Bill Currie 2000-09-22 15:32:58 +00:00
parent fb028dcd6f
commit 44e9299f29

View file

@ -228,7 +228,7 @@ void VID_SetPalette (unsigned char *palette)
snprintf(s, sizeof(s), "%s/glquake", com_gamedir); snprintf(s, sizeof(s), "%s/glquake", com_gamedir);
Sys_mkdir (s); Sys_mkdir (s);
snprintf(s, sizeof(s), "%s/glquake/15to8.pal", com_gamedir); snprintf(s, sizeof(s), "%s/glquake/15to8.pal", com_gamedir);
if ((f = fopen(s, "wb")) != NULL) { if ((f = Qopen(s, "wb")) != NULL) {
Qwrite(f, d_15to8table, 1<<15); Qwrite(f, d_15to8table, 1<<15);
Qclose(f); Qclose(f);
} }