mirror of
https://github.com/yquake2/ref_vk.git
synced 2024-11-10 06:41:45 +00:00
Fix compile warnings
This commit is contained in:
parent
5ba12c08b4
commit
6537a0e81a
2 changed files with 8 additions and 2 deletions
|
@ -611,6 +611,13 @@ GetTexImage(const char *name, findimage_t find_image)
|
|||
Com_sprintf(pathname, sizeof(pathname), "textures/%s.wal", name);
|
||||
image = find_image(pathname, it_wall);
|
||||
|
||||
/* Quake2 Re-Release Nintendo 64 */
|
||||
if (!image)
|
||||
{
|
||||
Com_sprintf(pathname, sizeof(pathname), "textures/%s.tga", name);
|
||||
image = find_image(pathname, it_wall);
|
||||
}
|
||||
|
||||
/* Heretic 2 */
|
||||
if (!image)
|
||||
{
|
||||
|
|
|
@ -463,8 +463,7 @@ Mod_LoadBSPX(int filesize, byte* mod_base)
|
|||
xheader = (bspx_header_t*)(mod_base + xofs);
|
||||
if (LittleLong(xheader->ident) != BSPXHEADER)
|
||||
{
|
||||
R_Printf(PRINT_ALL, "%s: Incorrect header ident.\n",
|
||||
__func__, xheader->ident, BSPXHEADER);
|
||||
R_Printf(PRINT_ALL, "%s: Incorrect header ident.\n", __func__);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue