From d7c2ee9382d3e166f35400ab598dfcfba70ec53d Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sun, 31 Jan 2016 12:01:34 -0600 Subject: [PATCH] a few straggler debug_warning conversions for some of the more annoying outputs --- .../src/shared/object/ShipObject_Components.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/server/library/serverGame/src/shared/object/ShipObject_Components.cpp b/engine/server/library/serverGame/src/shared/object/ShipObject_Components.cpp index dcd90f30..b61d64a4 100755 --- a/engine/server/library/serverGame/src/shared/object/ShipObject_Components.cpp +++ b/engine/server/library/serverGame/src/shared/object/ShipObject_Components.cpp @@ -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(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(chassisSlot)).c_str(), @@ -1924,7 +1924,7 @@ bool ShipObject::installComponentFromData(int chassisSlot, ShipComponentData con ShipChassisSlot const * const slot = shipChassis->getSlot (static_cast(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(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(),