From: <wel...@us...> - 2009-08-23 06:18:07
|
Revision: 4227 http://planeshift.svn.sourceforge.net/planeshift/?rev=4227&view=rev Author: weltall2 Date: 2009-08-23 06:18:00 +0000 (Sun, 23 Aug 2009) Log Message: ----------- fixed a bug in the handling of the command for <item /> Modified Paths: -------------- trunk/src/server/bulkobjects/psquest.cpp Modified: trunk/src/server/bulkobjects/psquest.cpp =================================================================== --- trunk/src/server/bulkobjects/psquest.cpp 2009-08-19 19:41:25 UTC (rev 4226) +++ trunk/src/server/bulkobjects/psquest.cpp 2009-08-23 06:18:00 UTC (rev 4227) @@ -356,8 +356,7 @@ return false; } - bool includeInventory = topNode->GetAttributeValueAsBool("position", false); - + bool includeInventory = topNode->GetAttributeValueAsBool("inventory", false); prerequisite.AttachNew(new psQuestPrereqOpItem(name, category, includeInventory)); } else if ( strcmp( topNode->GetValue(), "activemagic" ) == 0 ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |