light: fix extended texinfo array type
This commit is contained in:
parent
fbeba25bd1
commit
731e46d005
|
|
@ -379,7 +379,7 @@ extern int write_litfile;
|
|||
extern int write_luxfile;
|
||||
extern qboolean onlyents;
|
||||
extern qboolean scaledonly;
|
||||
extern uint32_t *extended_texinfo_flags;
|
||||
extern uint64_t *extended_texinfo_flags;
|
||||
extern qboolean novisapprox;
|
||||
extern bool nolights;
|
||||
|
||||
|
|
|
|||
|
|
@ -712,7 +712,7 @@ LoadExtendedTexinfoFlags(const char *sourcefilename, const bsp2_t *bsp)
|
|||
char filename[1024];
|
||||
|
||||
// always create the zero'ed array
|
||||
extended_texinfo_flags = (uint32_t *) calloc(bsp->numtexinfo, sizeof(uint32_t));
|
||||
extended_texinfo_flags = static_cast<uint64_t *>(calloc(bsp->numtexinfo, sizeof(uint64_t)));
|
||||
|
||||
strcpy(filename, sourcefilename);
|
||||
StripExtension(filename);
|
||||
|
|
|
|||
Loading…
Reference in New Issue