From 185603b5e659e0e8101d3d692598e0bc92d576cc Mon Sep 17 00:00:00 2001 From: Fabien_HENON Date: Tue, 19 Jul 2011 18:10:28 +0200 Subject: [PATCH] Changed: #1304: Debug of the options added in the script (';' replaced by ':' for parameters separation) --HG-- branch : gsoc2011-guildmissions --- .../mission_compiler_lib/step_content.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp b/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp index 456f7e286..442ca6fbd 100644 --- a/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp +++ b/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp @@ -170,7 +170,7 @@ public: string ret; ret = "recv_money : "+_Amount; if (_Guild) - ret += "; guild"; + ret += ": guild"; ret += NL; return ret; } @@ -702,7 +702,7 @@ public: string ret; ret = "recv_fame : "+_Faction+" "+_Fame; if (_Guild) - ret += "; guild"; + ret += ": guild"; ret += NL; return ret; } @@ -800,7 +800,7 @@ public: if (_Group) ret += " : group"; if (_Guild) - ret += "; guild"; + ret += ": guild"; ret += NL; } @@ -874,7 +874,7 @@ public: if (_Group) ret += " : group"; if (_Guild) - ret += "; guild"; + ret += ": guild"; ret += NL; } @@ -968,7 +968,7 @@ public: if (!_BotDestroyer.empty()) ret += " : "+_BotDestroyer; if (_Guild) - ret += "; guild"; + ret += ": guild"; ret += NL; } @@ -1800,7 +1800,7 @@ std::string CContentObjective::genNbGuildMembersNeededOption(CMissionData &md) // If we are in a guild mission we add the 'nb_guild_members_needed' option to the script if (md.isGuildMission()) { - ret = "; nb_guild_members_needed: "; + ret = ": nb_guild_members_needed "; ret += toString(_NbGuildMembersNeeded); }