Eliminated unneeded parameter

This commit is contained in:
_ 2018-04-05 17:51:22 -07:00
parent dce4180d5d
commit 6d0deefe43
3 changed files with 7 additions and 9 deletions

View File

@ -52,9 +52,8 @@ unsigned int gettexturebatch(
const char*,
unsigned int);
void gettextures(unsigned int*,
void locatetextures(unsigned int*,
struct TexturePack*,
struct TextureBatch**,
struct TextureBatchDescriptor**);
#endif

View File

@ -78,9 +78,8 @@ unsigned int gettexturebatch(
return totaltextures;
}
void gettextures(unsigned int *t,
void locatetextures(unsigned int *t,
struct TexturePack *tp,
struct TextureBatch **tb,
struct TextureBatchDescriptor **bds) {
unsigned int i;
unsigned int j;

View File

@ -124,7 +124,7 @@ void unpacktextures(const char *filedata,
filesize);
unsigned int *tloc = (unsigned int*)
malloc(sizeof(unsigned int) * texturecount);
gettextures(tloc, tp, batches, descripts);
locatetextures(tloc, tp, descripts);
// add 3 to buffer for digits, & 4 for file extension
char *fmt = (char*)malloc(strlen(filename) + 3 + 4);
unsigned int texsize = 0;