Merge pull request #263 from Azaezel/alpha40_decalDrek

crashfix: decal report when missing the DB entry was malformed
This commit is contained in:
Brian Roberts 2020-07-30 11:49:37 -05:00 committed by GitHub
commit 914fc3e80c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -209,7 +209,7 @@ bool DecalDataFile::read( Stream &stream )
data->materialName = "WarningMaterial";
data->material = dynamic_cast<Material*>(Sim::findObject("WarningMaterial"));
Con::errorf( "DecalDataFile::read() - DecalData %s does not exist! Temporarily created %s_missing.", lookupName.c_str() );
Con::errorf( "DecalDataFile::read() - DecalData %s does not exist! Temporarily created %s_missing.", lookupName.c_str(), lookupName.c_str());
}
}