Changed: Remove hardcoded FAQ URLs

This commit is contained in:
kervala 2015-11-08 14:21:26 +01:00
parent 6dd1b67767
commit aa0720fb82

View file

@ -52,21 +52,14 @@ void browseFAQ(NLMISC::CConfigFile &cf)
} }
} }
} }
if (url.empty()) if (url.empty())
{ {
// not found ? rely on hardcoded stuff // not found
if (nlstricmp(languageCode, "fr") == 0) nlwarning("No FAQ url");
{
url = "http://forums.ryzom.com/forum/showthread.php?t=29130";
}
else if (nlstricmp(languageCode, "de") == 0)
{
url = "http://forums.ryzom.com/forum/showthread.php?t=29131";
} }
else else
{ {
url = "http://forums.ryzom.com/forum/showthread.php?t=29129";
}
}
openURL(url.c_str()); openURL(url.c_str());
}
} }