Fixed a bug introduced in d32f3fdf

This commit is contained in:
Olivier Teulière 2012-04-07 12:52:36 +02:00
parent d6a2fc6e4e
commit 5ee10b7c91

View file

@ -93,8 +93,7 @@ const wstring & Move::getBadCoord() const
const wstring & Move::getChangedLetters() const
{
ASSERT(m_type == CHANGE_LETTERS && m_type != PASS,
"Incorrect move type");
ASSERT(m_type == CHANGE_LETTERS || m_type == PASS, "Incorrect move type");
return m_letters;
}