equal
deleted
inserted
replaced
257 QStringList HWTeam::teamGameConfig(quint32 InitHealth) const |
257 QStringList HWTeam::teamGameConfig(quint32 InitHealth) const |
258 { |
258 { |
259 QStringList sl; |
259 QStringList sl; |
260 if (m_isNetTeam) |
260 if (m_isNetTeam) |
261 { |
261 { |
262 sl.push_back(QString("eaddteam %3 %1 %2").arg(qcolor().rgb() & 0xffffff).arg(m_name).arg(QString(QCryptographicHash::hash(m_owner.toLatin1(), QCryptographicHash::Md5).toHex()))); |
262 sl.push_back(QString("eaddteam %3 %1 %2").arg(qcolor().rgb() & 0xffffff).arg(m_name).arg(QString(QCryptographicHash::hash(m_owner.toUtf8(), QCryptographicHash::Md5).toHex()))); |
263 sl.push_back("erdriven"); |
263 sl.push_back("erdriven"); |
264 } |
264 } |
265 else sl.push_back(QString("eaddteam %3 %1 %2").arg(qcolor().rgb() & 0xffffff).arg(m_name).arg(playerHash)); |
265 else sl.push_back(QString("eaddteam %3 %1 %2").arg(qcolor().rgb() & 0xffffff).arg(m_name).arg(playerHash)); |
266 |
266 |
267 sl.push_back(QString("egrave " + m_grave)); |
267 sl.push_back(QString("egrave " + m_grave)); |