a few straggler debug_warning conversions for some of the more annoying outputs

This commit is contained in:
DarthArgus
2016-01-31 12:01:34 -06:00
parent 04b27dedd2
commit d7c2ee9382
@@ -1899,7 +1899,7 @@ bool ShipObject::installComponentFromData(int chassisSlot, ShipComponentData con
ShipChassis const * const shipChassis = ShipChassis::findShipChassisByCrc (getChassisType ());
if (shipChassis == NULL)
{
WARNING (true, ("Ship [%s] chassis [%d] is invalid for installing component [%s]",
DEBUG_WARNING (true, ("Ship [%s] chassis [%d] is invalid for installing component [%s]",
getNetworkId().getValueString().c_str(),
static_cast<int>(getChassisType ()),
shipComponentData.getDescriptor().getName().getString()));
@@ -1908,7 +1908,7 @@ bool ShipObject::installComponentFromData(int chassisSlot, ShipComponentData con
if (isSlotInstalled (chassisSlot))
{
WARNING (true, ("Ship [%s] chassis [%s] slot [%s] is already filled, cannot install [%s]",
DEBUG_WARNING (true, ("Ship [%s] chassis [%s] slot [%s] is already filled, cannot install [%s]",
getNetworkId().getValueString().c_str(),
shipChassis->getName().getString(),
ShipChassisSlotType::getNameFromType(static_cast<ShipChassisSlotType::Type>(chassisSlot)).c_str(),
@@ -1924,7 +1924,7 @@ bool ShipObject::installComponentFromData(int chassisSlot, ShipComponentData con
ShipChassisSlot const * const slot = shipChassis->getSlot (static_cast<ShipChassisSlotType::Type>(effectiveCompatibilitySlot));
if (slot == NULL)
{
WARNING (true, ("Ship [%s] chassis [%s] does not support slot [%s] for installing component [%s]",
DEBUG_WARNING (true, ("Ship [%s] chassis [%s] does not support slot [%s] for installing component [%s]",
getNetworkId().getValueString().c_str(),
shipChassis->getName().getString(),
ShipChassisSlotType::getNameFromType(static_cast<ShipChassisSlotType::Type>(chassisSlot)).c_str(),
@@ -1934,7 +1934,7 @@ bool ShipObject::installComponentFromData(int chassisSlot, ShipComponentData con
if (!slot->canAcceptComponent(shipComponentData.getDescriptor()))
{
WARNING (true, ("Component [%s], compat [%s] cannot be installed in ship [%s] chassis [%s], slot [%s], compats [%s].",
DEBUG_WARNING (true, ("Component [%s], compat [%s] cannot be installed in ship [%s] chassis [%s], slot [%s], compats [%s].",
shipComponentData.getDescriptor().getName().getString(),
shipComponentData.getDescriptor().getCompatibility().getString(),
getNetworkId().getValueString().c_str(),