More compile fixes for current gcc.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2004-03-21 18:53:41 +00:00
parent 9c9b6714be
commit e27db9f6b2

View file

@ -396,9 +396,9 @@ WriteMiptex (void)
dmiptexlump_t *l;
int i, len, res = -1;
(const char *)wad_list = ValueForKey (&entities[0], "_wad");
wad_list = (char *) ValueForKey (&entities[0], "_wad");
if (!wad_list || !wad_list[0]) {
(const char *)wad_list = ValueForKey (&entities[0], "wad");
wad_list = (char *) ValueForKey (&entities[0], "wad");
if (!wad_list || !wad_list[0]) {
printf ("WARNING: no wadfile specified\n");
bsp->texdatasize = 0;