From: <wel...@us...> - 2009-12-08 06:53:44
|
Revision: 4912 http://planeshift.svn.sourceforge.net/planeshift/?rev=4912&view=rev Author: weltall2 Date: 2009-12-08 06:53:32 +0000 (Tue, 08 Dec 2009) Log Message: ----------- fixed Modified Paths: -------------- trunk/src/server/bulkobjects/psspell.cpp Modified: trunk/src/server/bulkobjects/psspell.cpp =================================================================== --- trunk/src/server/bulkobjects/psspell.cpp 2009-12-08 06:25:56 UTC (rev 4911) +++ trunk/src/server/bulkobjects/psspell.cpp 2009-12-08 06:53:32 UTC (rev 4912) @@ -90,7 +90,8 @@ way = CacheManager::GetSingleton().GetWayByID(row.GetInt("way_id")); image = row["image_name"]; - CacheManager::GetSingleton().AddCommonStringID(image); + //TODO: enable in future + //CacheManager::GetSingleton().AddCommonStringID(image); description = row["spell_description"]; castingEffect = row["casting_effect"]; @@ -344,7 +345,7 @@ // Check for the right kind of target const int targetType = client->GetTargetType(target); - if (!(targetTypes & targetType) && !client->IsGM()) + if (!(targetTypes & targetType)) { csString allowedTypes; client->GetTargetTypeName(targetTypes, allowedTypes); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |