more globalWarningStream() globalErrorStream() use

This commit is contained in:
Garux
2018-03-21 04:12:06 +03:00
parent b1e2f26124
commit cf580963c2
28 changed files with 83 additions and 83 deletions

View File

@@ -293,7 +293,7 @@ void Pointfile_Parse( CPointfile& pointfile ){
{
Vector3 v;
if ( sscanf( data,"%f %f %f", &v[0], &v[1], &v[2] ) != 3 ) {
globalOutputStream() << "Corrupt point file, line " << line << "\n";
globalWarningStream() << "Corrupt point file, line " << line << "\n";
break;
}
@@ -307,7 +307,7 @@ void Pointfile_Parse( CPointfile& pointfile ){
// deal with zhlt style point files.
if ( *data == '-' ) {
if ( sscanf( data,"- %f %f %f", &v[0], &v[1], &v[2] ) != 3 ) {
globalOutputStream() << "Corrupt point file, line " << line << "\n";
globalWarningStream() << "Corrupt point file, line " << line << "\n";
break;
}