From: <rav...@us...> - 2016-04-27 16:09:23
|
Revision: 9910 http://sourceforge.net/p/planeshift/code/9910 Author: ravna-ps Date: 2016-04-27 16:09:21 +0000 (Wed, 27 Apr 2016) Log Message: ----------- Fixed a bug that caused the server to use trait name for location in "require trait" commands. Modified Paths: -------------- trunk/src/server/bulkobjects/psquest.cpp Modified: trunk/src/server/bulkobjects/psquest.cpp =================================================================== --- trunk/src/server/bulkobjects/psquest.cpp 2016-04-27 16:08:17 UTC (rev 9909) +++ trunk/src/server/bulkobjects/psquest.cpp 2016-04-27 16:09:21 UTC (rev 9910) @@ -417,7 +417,7 @@ Error1("No name given for trait prerequisite operation"); return false; } - csString location = topNode->GetAttributeValue("name"); + csString location = topNode->GetAttributeValue("location"); if(location.IsEmpty()) { Error1("No location given for trait prerequisite operation"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |