From: <wel...@us...> - 2012-01-20 17:56:10
|
Revision: 8015 http://planeshift.svn.sourceforge.net/planeshift/?rev=8015&view=rev Author: weltall2 Date: 2012-01-20 17:56:03 +0000 (Fri, 20 Jan 2012) Log Message: ----------- Improved the output of the quality to be less confusing Modified Paths: -------------- trunk/src/server/workmanager.cpp Modified: trunk/src/server/workmanager.cpp =================================================================== --- trunk/src/server/workmanager.cpp 2012-01-20 17:55:21 UTC (rev 8014) +++ trunk/src/server/workmanager.cpp 2012-01-20 17:56:03 UTC (rev 8015) @@ -3581,7 +3581,8 @@ psItemStats* resultStats = cacheManager->GetBasicItemStatsByID( result ); if (resultStats) { - psserver->SendSystemOK(clientNum,"You made %i %s with quality %f.", resultQty, resultStats->GetName(), currentQuality ); + //we clamp the quality to the maximum allowed by the system + psserver->SendSystemOK(clientNum,"You made %i %s with quality %.0f.", resultQty, resultStats->GetName(), currentQuality > 300 ? 300.0f : currentQuality ); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |