only show the space nebula warn on debug builds

This commit is contained in:
DarthArgus
2016-01-21 11:40:27 -06:00
parent a8f4475000
commit 284ac30676
@@ -200,8 +200,12 @@ void NebulaManager::loadSceneData(std::string const & sceneId)
{
//-- apparently not a space scene
// @todo: need better way to detect this
#ifdef _DEBUG
if (!(strncmp(sceneId.c_str(), "space_", 6) != 0))
WARNING(true, ("NebulaManager no such datatable [%s]", filename.c_str()));
{
WARNING(true, ("NebulaManager no such datatable [%s]. We may need to create one if anything is missing in the zone.", filename.c_str()));
}
#endif
return;
}