try zero-initializinng this struct to solve docker issue

This commit is contained in:
jadebenn 2024-04-06 03:04:52 -05:00
parent 24cbd94a80
commit d6031ce9f5
2 changed files with 19 additions and 2 deletions

View File

@ -297,6 +297,23 @@
}
],
"workflowPresets": [
{
"name": "default",
"steps": [
{
"type": "configure",
"name": "default"
},
{
"type": "build",
"name": "default"
},
{
"type": "test",
"name": "default"
}
]
},
{
"name": "ci-windows-2022",
"displayName": "Windows CI Workflow",

View File

@ -102,7 +102,7 @@ void VanityUtilities::SpawnVanity() {
}
LWOOBJID SpawnSpawner(const VanityObject& object, const VanityObjectLocation& location) {
SceneObject obj;
SceneObject obj {};
obj.lot = object.m_LOT;
// guratantee we have no collisions
do {
@ -268,7 +268,7 @@ void ParseXml(const std::string& file) {
for (auto* location = locations->FirstChildElement("location"); location != nullptr;
location = location->NextSiblingElement("location")) {
// Get the location data
auto zoneID = GeneralUtils::TryParse<uint32_t>(location->Attribute("zone"));
auto x = GeneralUtils::TryParse<float>(location->Attribute("x"));