mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-01 01:16:03 -04:00
silence output by default in release mode for things we can't do much about on a live server... TODO: @cekis can we find a nice way of silencing or outputting java stack dumps into a file instead of the console?
This commit is contained in:
@@ -71,7 +71,7 @@ Floor * FloorManager::createFloor ( const char * floorMeshFilename, Object const
|
||||
|
||||
if(!pMesh)
|
||||
{
|
||||
WARNING(true, ("Could not find floor mesh %s", floorMeshFilename));
|
||||
DEBUG_WARNING(true, ("Could not find floor mesh %s", floorMeshFilename));
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ void ArrangementDescriptor::load_0000(Iff &iff)
|
||||
// convert slot name to SlotId
|
||||
const SlotId slotId = SlotIdManager::findSlotId(slotName);
|
||||
if (slotId == SlotId::invalid)
|
||||
WARNING(true, ("ArrangementDescriptor [%s] specified invalid slot name [%s], ignoring", m_name->getString(), slotName.getString()));
|
||||
DEBUG_WARNING(true, ("ArrangementDescriptor [%s] specified invalid slot name [%s], ignoring", m_name->getString(), slotName.getString()));
|
||||
else
|
||||
arrangement.push_back(slotId);
|
||||
}
|
||||
|
||||
@@ -449,11 +449,11 @@ void CellProperty::initialize(const PortalProperty &portalProperty, int cellInde
|
||||
if (cellTemplate.getFloorName())
|
||||
{
|
||||
m_floor = FloorManager::createFloor(cellTemplate.getFloorName(),&getOwner(),nullptr,false);
|
||||
WARNING(!m_floor, ("Cell %s could not load floor %s", cellTemplate.getAppearanceName(), cellTemplate.getFloorName()));
|
||||
DEBUG_WARNING(!m_floor, ("Cell %s could not load floor %s", cellTemplate.getAppearanceName(), cellTemplate.getFloorName()));
|
||||
}
|
||||
else
|
||||
{
|
||||
WARNING(true, ("Cell %s has no floor", cellTemplate.getAppearanceName()));
|
||||
DEBUG_WARNING(true, ("Cell %s has no floor", cellTemplate.getAppearanceName()));
|
||||
}
|
||||
|
||||
m_cellIndex = cellIndex;
|
||||
|
||||
Reference in New Issue
Block a user