mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-03 10:41:24 +00:00
Minor fixups needed to build as a native VS project
git-svn-id: https://svn.eduke32.com/eduke32@6982 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b9eb42672d
commit
d4c9cc28d5
4 changed files with 7 additions and 7 deletions
|
@ -605,7 +605,7 @@ static int32_t mdloadskin_failed(char * const skinfile, char const * const fn)
|
|||
int32_t mdloadskin(md2model_t *m, int32_t number, int32_t pal, int32_t surf)
|
||||
{
|
||||
int32_t i;
|
||||
char *skinfile, fn[BMAX_PATH];
|
||||
char *skinfile = NULL, fn[BMAX_PATH];
|
||||
GLuint *texidx = NULL;
|
||||
mdskinmap_t *sk, *skzero = NULL;
|
||||
int32_t doalloc = 1;
|
||||
|
@ -667,7 +667,7 @@ int32_t mdloadskin(md2model_t *m, int32_t number, int32_t pal, int32_t surf)
|
|||
#endif
|
||||
}
|
||||
|
||||
if (!skinfile[0])
|
||||
if (skinfile == NULL || !skinfile[0])
|
||||
return 0;
|
||||
|
||||
if (*texidx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue