Fix typo in previous commit
This commit is contained in:
@@ -38,14 +38,14 @@ AchievementInfo::AchievementInfo(const XMLNode * input)
|
||||
m_is_secret = false;
|
||||
bool all;
|
||||
all = input->get("id", &m_id ) &&
|
||||
input->get("name ", &m_name ) &&
|
||||
input->get("name", &m_name ) &&
|
||||
input->get("description", &m_description );
|
||||
if (!all)
|
||||
{
|
||||
Log::error("AchievementInfo",
|
||||
"Not all necessary values for achievement defined.");
|
||||
Log::error("AchievementInfo",
|
||||
"ID %d title '%s' description '%s'", m_id, m_name.c_str(),
|
||||
"ID %d name '%s' description '%s'", m_id, m_name.c_str(),
|
||||
m_description.c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user