about summary refs log tree commit diff stats
path: root/cpp/010vm
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/010vm')
-rw-r--r--cpp/010vm2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/010vm b/cpp/010vm
index c3f3286d..2689b7c7 100644
--- a/cpp/010vm
+++ b/cpp/010vm
@@ -129,6 +129,8 @@ void setup_recipes() {
   assert(Next_recipe_number == COPY);
   Next_recipe_number++;
   // End Primitive Recipe Numbers.
+  assert(Next_recipe_number < 100);
+  Next_recipe_number = 100;
 }
 :(before "End Setup")
   setup_recipes();