mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-03 17:14:46 +00:00
Fixed: Typos
--HG-- branch : develop
This commit is contained in:
parent
25a7caf341
commit
20711e24e3
4 changed files with 4 additions and 5 deletions
|
@ -953,7 +953,6 @@ namespace NLGUI
|
||||||
maxPos = _CursorPos;
|
maxPos = _CursorPos;
|
||||||
}
|
}
|
||||||
|
|
||||||
nlinfo("%d, %d", minPos, maxPos);
|
|
||||||
if (replace)
|
if (replace)
|
||||||
{
|
{
|
||||||
_InputString = _InputString.substr(0, minPos) + toAdd + _InputString.substr(maxPos);
|
_InputString = _InputString.substr(0, minPos) + toAdd + _InputString.substr(maxPos);
|
||||||
|
|
|
@ -513,7 +513,7 @@ int main(int argc, char **argv)
|
||||||
std::string::size_type pos = inputFileName.rfind(".");
|
std::string::size_type pos = inputFileName.rfind(".");
|
||||||
if (pos == std::string::npos)
|
if (pos == std::string::npos)
|
||||||
{
|
{
|
||||||
// name whithout extension
|
// name without extension
|
||||||
userColorFileName = inputFileName + "_usercolor";
|
userColorFileName = inputFileName + "_usercolor";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -143,7 +143,7 @@ public:
|
||||||
// Fame system
|
// Fame system
|
||||||
// These take clans as parameters, restricted by call.
|
// These take clans as parameters, restricted by call.
|
||||||
// These return the proper fame values, or NO_FAME if there's an error.
|
// These return the proper fame values, or NO_FAME if there's an error.
|
||||||
// - GgtStartFame: playerClan must be a Civilization, targetClan must be any non-neutral clan
|
// - getStartFame: playerClan must be a Civilization, targetClan must be any non-neutral clan
|
||||||
sint32 getStartFame(PVP_CLAN::TPVPClan playerClan, PVP_CLAN::TPVPClan targetClan);
|
sint32 getStartFame(PVP_CLAN::TPVPClan playerClan, PVP_CLAN::TPVPClan targetClan);
|
||||||
// - getMaxFameByClan: playerClan must be Neutral or the same type (Cult or Clan) as targetClan,
|
// - getMaxFameByClan: playerClan must be Neutral or the same type (Cult or Clan) as targetClan,
|
||||||
// targetClan must be any non-neutral clan.
|
// targetClan must be any non-neutral clan.
|
||||||
|
|
|
@ -339,7 +339,7 @@ void CGuildMemberModule::_inviteCharacterInGuild(CGuildCharProxy& invitor, CGuil
|
||||||
SM_STATIC_PARAMS_2( params, STRING_MANAGER::player, STRING_MANAGER::faction );
|
SM_STATIC_PARAMS_2( params, STRING_MANAGER::player, STRING_MANAGER::faction );
|
||||||
params[0].setEIdAIAlias( target.getId(), CAIAliasTranslator::getInstance()->getAIAlias( target.getId()) );
|
params[0].setEIdAIAlias( target.getId(), CAIAliasTranslator::getInstance()->getAIAlias( target.getId()) );
|
||||||
params[1].Enum = PVP_CLAN::getFactionIndex(invitedAllegiance.first);
|
params[1].Enum = PVP_CLAN::getFactionIndex(invitedAllegiance.first);
|
||||||
invitor.sendSystemMessage("GUILD_ICOMPATIBLE_ALLEGIANCE",params);
|
invitor.sendSystemMessage("GUILD_INCOMPATIBLE_ALLEGIANCE",params);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -348,7 +348,7 @@ void CGuildMemberModule::_inviteCharacterInGuild(CGuildCharProxy& invitor, CGuil
|
||||||
SM_STATIC_PARAMS_2( params, STRING_MANAGER::player, STRING_MANAGER::faction );
|
SM_STATIC_PARAMS_2( params, STRING_MANAGER::player, STRING_MANAGER::faction );
|
||||||
params[0].setEIdAIAlias( target.getId(), CAIAliasTranslator::getInstance()->getAIAlias( target.getId()) );
|
params[0].setEIdAIAlias( target.getId(), CAIAliasTranslator::getInstance()->getAIAlias( target.getId()) );
|
||||||
params[1].Enum = PVP_CLAN::getFactionIndex(invitedAllegiance.second);
|
params[1].Enum = PVP_CLAN::getFactionIndex(invitedAllegiance.second);
|
||||||
invitor.sendSystemMessage("GUILD_ICOMPATIBLE_ALLEGIANCE",params);
|
invitor.sendSystemMessage("GUILD_INCOMPATIBLE_ALLEGIANCE",params);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue