fix(Tools/Vmap): correct build (#11834)
This commit is contained in:
@@ -170,7 +170,7 @@ bool ExtractSingleWmo(std::string& fname)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
Wmo_nVertices += fgroup.ConvertToVMAPGroupWmo(output, &froot, preciseVectorData);
|
Wmo_nVertices += fgroup.ConvertToVMAPGroupWmo(output, preciseVectorData);
|
||||||
for (uint16 groupReference : fgroup.DoodadReferences)
|
for (uint16 groupReference : fgroup.DoodadReferences)
|
||||||
{
|
{
|
||||||
if (groupReference >= doodads.Spawns.size())
|
if (groupReference >= doodads.Spawns.size())
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ bool WMOGroup::open(WMORoot* rootWMO)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int WMOGroup::ConvertToVMAPGroupWmo(FILE* output, WMORoot* rootWMO, bool preciseVectorData)
|
int WMOGroup::ConvertToVMAPGroupWmo(FILE* output, bool preciseVectorData)
|
||||||
{
|
{
|
||||||
fwrite(&mogpFlags, sizeof(uint32), 1, output);
|
fwrite(&mogpFlags, sizeof(uint32), 1, output);
|
||||||
fwrite(&groupWMOID, sizeof(uint32), 1, output);
|
fwrite(&groupWMOID, sizeof(uint32), 1, output);
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ public:
|
|||||||
~WMOGroup();
|
~WMOGroup();
|
||||||
|
|
||||||
bool open(WMORoot* rootWMO);
|
bool open(WMORoot* rootWMO);
|
||||||
int ConvertToVMAPGroupWmo(FILE* output, WMORoot* rootWMO, bool preciseVectorData);
|
int ConvertToVMAPGroupWmo(FILE* output, bool preciseVectorData);
|
||||||
uint32 GetLiquidTypeId(uint32 liquidTypeId);
|
uint32 GetLiquidTypeId(uint32 liquidTypeId);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user