Commit d769a226 authored by kervala's avatar kervala

Fixed: Don't use current servers count if default one is hihger

--HG--
branch : develop
parent 89fc46c7
......@@ -121,7 +121,8 @@ bool CConfigFile::load(const QString &filename)
// only resize if added servers in local ryzom_installer.ini
CServers defaultServers = m_servers;
m_servers.resize(serversCount);
// only resize if servers count is greater than default ones
if (serversCount > m_servers.count()) m_servers.resize(serversCount);
for (int i = 0; i < serversCount; ++i)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment