From: Kevin Day Date: Sun, 10 Jul 2022 02:50:53 +0000 (-0500) Subject: Update: Ensure first if block is initialized to operate. X-Git-Tag: 0.6.0~72 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=ea840499c969ae2c1434fd41a4e30d53c8992b2e;p=fll Update: Ensure first if block is initialized to operate. --- diff --git a/level_3/fake/c/private-make-operate_block.c b/level_3/fake/c/private-make-operate_block.c index 6b643a0..ecfb801 100644 --- a/level_3/fake/c/private-make-operate_block.c +++ b/level_3/fake/c/private-make-operate_block.c @@ -32,6 +32,12 @@ extern "C" { state_process->success_block = F_true; } } + else if (state_process->operation == fake_make_operation_type_if_e) { + + // This is the first if-condition, so setup the block. + state_process->block = fake_state_process_block_operate_e; + state_process->block_result = 0; + } } #endif // _di_fake_make_operate_block_prepare_