Add prefs for logging. Don't throw if can't open log file. Remove Ragefopen and Rageifstream (they aren't needed).
This commit is contained in:
@@ -298,7 +298,7 @@ void Course::Save()
|
||||
{
|
||||
ASSERT( !m_bIsAutogen );
|
||||
|
||||
FILE* fp = Ragefopen( m_sPath, "w" );
|
||||
FILE* fp = fopen( m_sPath, "w" );
|
||||
if( fp == NULL )
|
||||
{
|
||||
LOG->Warn( "Could not write course file '%s'.", m_sPath.c_str() );
|
||||
|
||||
Reference in New Issue
Block a user