Fix character creation tenancy operations

This commit is contained in:
Akkadius
2020-03-31 01:49:42 -05:00
parent 019735c654
commit dae20afcba
14 changed files with 186 additions and 120 deletions
@@ -62,7 +62,7 @@ public:
);
}
static CharacterRecipeList GetDefaults()
static CharacterRecipeList NewEntity()
{
CharacterRecipeList character_recipe_list_entry;
@@ -109,7 +109,7 @@ public:
}
}
return GetDefaults();
return NewEntity();
}
};
@@ -74,7 +74,7 @@ public:
);
}
static GridEntry Default()
static GridEntry NewEntity()
{
GridEntry entry{};
+2 -2
View File
@@ -64,7 +64,7 @@ public:
);
}
static Grid Default()
static Grid NewEntity()
{
Grid entry{};
@@ -113,7 +113,7 @@ public:
}
}
return Default();
return NewEntity();
}
};
+2 -2
View File
@@ -81,7 +81,7 @@ public:
);
}
static SpawnGroup New()
static SpawnGroup NewEntity()
{
SpawnGroup entry;
@@ -155,7 +155,7 @@ public:
}
}
return New();
return NewEntity();
}
};
@@ -78,7 +78,7 @@ public:
);
}
static TradeskillRecipe New()
static TradeskillRecipe NewEntity()
{
TradeskillRecipe entry;
@@ -107,7 +107,7 @@ public:
)
);
TradeskillRecipe tradeskill_recipe = New();
TradeskillRecipe tradeskill_recipe = NewEntity();
auto row = results.begin();
if (results.RowCount() == 0) {