From: <rds...@us...> - 2008-07-06 23:21:31
|
Revision: 1874 http://planeshift.svn.sourceforge.net/planeshift/?rev=1874&view=rev Author: rdschulz Date: 2008-07-06 16:21:36 -0700 (Sun, 06 Jul 2008) Log Message: ----------- - Fix to FS#1376 by Oskaris - display bug in ownership when splitting a stack in furnace Modified Paths: -------------- trunk/docs/history.txt trunk/src/server/gem.cpp Modified: trunk/docs/history.txt =================================================================== --- trunk/docs/history.txt 2008-07-06 22:46:19 UTC (rev 1873) +++ trunk/docs/history.txt 2008-07-06 23:21:36 UTC (rev 1874) @@ -4,6 +4,8 @@ in an area. Also does not spawn items anew if a pickup didn't succeed. - Fix to FS#1336 by Boite - use mouselook only when focussed on main widget. - Fix to FS#1694 by Zwenze - added GM /checkitem command. +- Fix to FS#1376 by Oskaris - display bug in ownership when splitting a stack + in furnace *** 2008-07-06 by Mike Gist - Fixed unique iMeshWrappers not being created for new objects. Modified: trunk/src/server/gem.cpp =================================================================== --- trunk/src/server/gem.cpp 2008-07-06 22:46:19 UTC (rev 1873) +++ trunk/src/server/gem.cpp 2008-07-06 23:21:36 UTC (rev 1874) @@ -4072,6 +4072,8 @@ if (fromClient) { + gemActor *guardian = GEMSupervisor::GetSingleton().FindPlayerEntity(item->GetGuardingCharacterID()); + // printf("Multicasting removal update to nearby clients of %s.\n\n", fromClient->GetName() ); // Update client(s) psViewItemUpdate mesg(fromClient->GetClientNum(), @@ -4081,7 +4083,7 @@ item->GetName(), item->GetImageName(), item->GetStackCount(), - 0); + guardian ? guardian->GetEntityID() : 0); mesg.Multicast(fromClient->GetActor()->GetMulticastClients(),0,5); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |