about summary refs log tree commit diff stats
path: root/026call.cc
diff options
context:
space:
mode:
Diffstat (limited to '026call.cc')
-rw-r--r--026call.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/026call.cc b/026call.cc
index d44188bf..96fd8660 100644
--- a/026call.cc
+++ b/026call.cc
@@ -37,9 +37,11 @@ struct call {
   recipe_ordinal running_recipe;
   int running_step_index;
   // End call Fields
-  call(recipe_ordinal r) {
+  call(recipe_ordinal r) { clear(r, 0); }
+  call(recipe_ordinal r, int index) { clear(r, index); }
+  void clear(recipe_ordinal r, int index) {
     running_recipe = r;
-    running_step_index = 0;
+    running_step_index = index;
     // End call Constructor
   }
   ~call() {