more cleanups

This commit is contained in:
TTimo 2016-08-20 17:50:23 -06:00
parent de8105beb4
commit 8557f1820f
2 changed files with 5 additions and 5 deletions

View File

@ -63,9 +63,9 @@ void ExportEntities( void ){
strcat( filename, ".ent" );
/* sanity check */
if ( bspEntData == NULL || bspEntDataSize == 0 ) {
Sys_FPrintf( SYS_WRN, "WARNING: No BSP entity data. aborting...\n" );
return;
if ( bspEntDataSize == 0 ) {
Sys_FPrintf( SYS_WRN, "WARNING: No BSP entity data. aborting...\n" );
return;
}
/* write it */
@ -109,4 +109,4 @@ int ExportEntitiesMain( int argc, char **argv ){
/* return to sender */
return 0;
}
}

View File

@ -622,7 +622,7 @@ typedef struct foliage_s
struct foliage_s *next;
char model[ MAX_QPATH ];
float scale, density, odds;
qboolean inverseAlpha;
int inverseAlpha;
}
foliage_t;