From: <ko...@us...> - 2009-02-28 09:14:22
|
Revision: 3119 http://planeshift.svn.sourceforge.net/planeshift/?rev=3119&view=rev Author: kougaro Date: 2009-02-28 09:14:12 +0000 (Sat, 28 Feb 2009) Log Message: ----------- Fixed some mess in workmanager from r3118 Modified Paths: -------------- trunk/src/server/workmanager.cpp Modified: trunk/src/server/workmanager.cpp =================================================================== --- trunk/src/server/workmanager.cpp 2009-02-28 03:21:28 UTC (rev 3118) +++ trunk/src/server/workmanager.cpp 2009-02-28 09:14:12 UTC (rev 3119) @@ -878,10 +878,10 @@ return; } - if (!worke->Inventory().AddOrDrop(item)) + if (!workerchar->Inventory().AddOrDrop(item)) { - Debug5(LOG_ANY, worke->GetPID().Unbox(), "HandleProductionEvent() could not give item of stat %u (%s) to character %s[%s])", - newitem->GetUID(), newitem->GetName(), workerchar->GetCharName(), ShowID(worke->GetPID())); + Debug5(LOG_ANY, workerchar->GetPID().Unbox(), "HandleProductionEvent() could not give item of stat %u (%s) to character %s[%s])", + newitem->GetUID(), newitem->GetName(), workerchar->GetCharName(), ShowID(workerchar->GetPID())); if (workEvent->client) { @@ -891,7 +891,7 @@ else { Debug5(LOG_SUPERCLIENT,0,"%s(%s) found %s, but dropped it: %s",workEvent->worker->GetName(), - ShowID(workEvent->worker->GetEID()), newitem->GetName(), worke->Inventory().lastError.GetDataSafe()); + ShowID(workEvent->worker->GetEID()), newitem->GetName(), workerchar->Inventory().lastError.GetDataSafe()); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |