mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
add assert to catch bad dict earlier
This commit is contained in:
parent
455cb9a4c4
commit
7a1346e530
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ void
|
|||
stack_setBitsPerTile( StackCtxt* stack, XP_U16 bitsPerTile )
|
||||
{
|
||||
XP_ASSERT( !!stack );
|
||||
XP_ASSERT( bitsPerTile == 5 || bitsPerTile == 6 );
|
||||
stack->bitsPerTile = bitsPerTile;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue