diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-12-15 09:41:27 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-12-15 09:41:27 -0800 |
commit | 52f065c7cff49fe9868ce6a0e13d3c25653f597e (patch) | |
tree | 89f7507669c07888b17262eaf6c96b0177b8744b /082scenario_screen.cc | |
parent | 4d03f69cd3e193b5c9420ecf8552c3144e301818 (diff) | |
download | mu-52f065c7cff49fe9868ce6a0e13d3c25653f597e.tar.gz |
2626
Diffstat (limited to '082scenario_screen.cc')
-rw-r--r-- | 082scenario_screen.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/082scenario_screen.cc b/082scenario_screen.cc index 36e1c1b1..0c21778e 100644 --- a/082scenario_screen.cc +++ b/082scenario_screen.cc @@ -161,6 +161,7 @@ case SCREEN_SHOULD_CONTAIN: { //? cerr << SIZE(get(Recipe_variants, "insert")) << '\n'; //? cerr << debug_string(get(Recipe, get(Recipe_ordinal, "insert_4"))) << '\n'; if (!Passed) break; + assert(scalar(ingredients.at(0))); check_screen(current_instruction().ingredients.at(0).name, -1); break; } @@ -177,6 +178,7 @@ case SCREEN_SHOULD_CONTAIN_IN_COLOR: { case SCREEN_SHOULD_CONTAIN_IN_COLOR: { if (!Passed) break; assert(scalar(ingredients.at(0))); + assert(scalar(ingredients.at(1))); check_screen(current_instruction().ingredients.at(1).name, ingredients.at(0).at(0)); break; } |