Merge branch 'stand(alone)-lump-comedy' into 'master'

Stand(alone) lump comedy

See merge request STJr/SRB2!499
This commit is contained in:
Monster Iestyn 2019-06-21 17:06:23 -04:00
commit fb182369f6

View file

@ -334,7 +334,6 @@ static restype_t ResourceFileDetect (const char* filename)
static lumpinfo_t* ResGetLumpsStandalone (FILE* handle, UINT16* numlumps, const char* lumpname)
{
lumpinfo_t* lumpinfo = Z_Calloc(sizeof (*lumpinfo), PU_STATIC, NULL);
lumpinfo = Z_Calloc(sizeof (*lumpinfo), PU_STATIC, NULL);
lumpinfo->position = 0;
fseek(handle, 0, SEEK_END);
lumpinfo->size = ftell(handle);