Mod_LoadFlexModel fix uninit var

This commit is contained in:
David CARLIER 2023-02-24 00:08:03 +00:00 committed by Denis Pauk
parent c6ce695406
commit 3950773186

View file

@ -716,7 +716,7 @@ Mod_LoadFlexModel(const char *mod_name, const void *buffer, int modfilelen,
{
char *src = (char *)buffer;
int version, size, i;
void *extradata;
void *extradata = NULL;
dmdl_t *pheader = NULL;
while (modfilelen > 0)