about summary refs log tree commit diff stats
path: root/026call.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-12-04 00:08:02 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-12-04 00:08:02 -0800
commit8050782c17560ef33a85bd739da8158f9c530e39 (patch)
tree01c37341f7a65c5ed3c5f804b2d8481043eb842b /026call.cc
parent9a20f9e32252357e4a445b2eb98bb5d8725f2157 (diff)
downloadmu-8050782c17560ef33a85bd739da8158f9c530e39.tar.gz
4136
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() {