diff options
Diffstat (limited to 'cpp/010vm')
-rw-r--r-- | cpp/010vm | 10 |
1 files changed, 8 insertions, 2 deletions
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 |