fix assertion failure by handling missing case

This commit is contained in:
Eric House 2016-02-18 07:45:41 -08:00
parent 33916761fb
commit 53f44af199

View file

@ -583,6 +583,9 @@ formatLMI( const LastMoveInfo* lmi, XP_UCHAR* buf, XP_U16 len )
{
const XP_UCHAR* name = lmi->name;
switch( lmi->moveType ) {
case ASSIGN_TYPE:
XP_SNPRINTF( buf, len, "Tiles assigned to %s", name );
break;
case MOVE_TYPE:
if ( 0 == lmi->nTiles ) {
XP_SNPRINTF( buf, len, "%s passed", name );