From cae5461b1dfeb70dac6b66192fc6b12952beb723 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 19 Feb 2015 15:24:20 -0800 Subject: 783 --- cpp/010vm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'cpp/010vm') diff --git a/cpp/010vm b/cpp/010vm index 3b8a7c96..a8ce5bac 100644 --- a/cpp/010vm +++ b/cpp/010vm @@ -73,8 +73,11 @@ void setup_types() { Type.clear(); Type_number.clear(); Type_number["literal"] = 0; Next_type_number = 1; - int integer = Type_number["integer"] = Next_type_number++; + // New Types. + int integer = Type_number["integer"] = 1; Type[integer].size = 1; + Next_type_number++; + // End New Types. } :(before "End Setup") setup_types(); @@ -102,7 +105,10 @@ void setup_recipes() { Recipe.clear(); Recipe_number.clear(); Recipe_number["idle"] = 0; Next_recipe_number = 1; - Recipe_number["copy"] = Next_recipe_number++; + // New Recipes. + Recipe_number["copy"] = 1; + Next_recipe_number++; + // End New Recipes. } :(before "End Types") const int idle = 0; // always the first entry in the recipe book -- cgit 1.4.1-2-gfad0