mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-29 07:11:45 +00:00
missed this fopen->Qopen conversion
This commit is contained in:
parent
fb028dcd6f
commit
44e9299f29
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue