Don't quit rbdmap quietly if running in imtui mode

This commit is contained in:
Robert Beckebans 2024-12-23 11:40:23 +01:00
parent 35fe78d72e
commit 4af1ead33a
2 changed files with 9 additions and 4 deletions

View file

@ -488,9 +488,14 @@ void Dmap( const idCmdArgs& args )
// create AAS files
RunAAS_f( args );
}
common->DmapPacifierFilename( passedName, "Done" );
}
else
{
common->DmapPacifierFilename( passedName, "Failed due to errors. Quit program." );
}
common->DmapPacifierFilename( passedName, "Done" );
// free the common .map representation
delete dmapGlobals.dmapFile;

View file

@ -1234,11 +1234,11 @@ int main( int argc, char** argv )
Dmap_f( args );
#if 0
#if 1
// maybe only do this if dmap has a leaked BSP
while( true )
{
bool captureToImage = false;
common->UpdateScreen( captureToImage );
common->UpdateScreen( false );
}
#endif