Commit 1523f7df authored by Frederik Schwarzer's avatar Frederik Schwarzer

Fix custom player comparison operator.

parent 8f9a2a23
......@@ -49,7 +49,7 @@ bool Player::operator==(const Player &other) const
return m_name == other.m_name &&
m_color == other.m_color &&
m_type == other.m_type &&
m_strength == other.m_type;
m_strength == other.m_strength;
}
bool Player::setStrength(int strength)
......
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