add assert that would have helped

This commit is contained in:
eehouse 2010-04-17 04:15:20 +00:00
parent d66e74a301
commit d1e8b95843

View file

@ -153,6 +153,7 @@ destroyGI( MPFORMAL CurGameInfo** gip )
static void
loadCommonPrefs( JNIEnv* env, CommonPrefs* cp, jobject j_cp )
{
XP_ASSERT( !!j_cp );
cp->showBoardArrow = getBool( env, j_cp, "showBoardArrow" );
cp->showRobotScores = getBool( env, j_cp, "showRobotScores" );
cp->hideTileValues = getBool( env, j_cp, "hideTileValues" );