[Styling] Some minor styling fixes
This commit is contained in:
parent
caa2d98069
commit
0b30838d20
@ -364,6 +364,7 @@ enum eConfigBoolValues
|
|||||||
CONFIG_BOOL_PLAYERBOT_COLLECT_OBJECTS,
|
CONFIG_BOOL_PLAYERBOT_COLLECT_OBJECTS,
|
||||||
CONFIG_BOOL_PLAYERBOT_SELL_TRASH,
|
CONFIG_BOOL_PLAYERBOT_SELL_TRASH,
|
||||||
#endif
|
#endif
|
||||||
|
// Warden
|
||||||
CONFIG_BOOL_WARDEN_WIN_ENABLED,
|
CONFIG_BOOL_WARDEN_WIN_ENABLED,
|
||||||
CONFIG_BOOL_WARDEN_OSX_ENABLED,
|
CONFIG_BOOL_WARDEN_OSX_ENABLED,
|
||||||
CONFIG_BOOL_GM_TICKET_OFFLINE_CLOSING,
|
CONFIG_BOOL_GM_TICKET_OFFLINE_CLOSING,
|
||||||
|
@ -384,10 +384,12 @@ namespace VMAP
|
|||||||
result = false;
|
result = false;
|
||||||
}
|
}
|
||||||
if (count)
|
if (count)
|
||||||
|
{
|
||||||
if (result && fwrite(&triangles[0], sizeof(MeshTriangle), count, wf) != count)
|
if (result && fwrite(&triangles[0], sizeof(MeshTriangle), count, wf) != count)
|
||||||
{
|
{
|
||||||
result = false;
|
result = false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// write mesh BIH
|
// write mesh BIH
|
||||||
if (result && fwrite("MBIH", 1, 4, wf) != 4)
|
if (result && fwrite("MBIH", 1, 4, wf) != 4)
|
||||||
@ -410,10 +412,12 @@ namespace VMAP
|
|||||||
result = false;
|
result = false;
|
||||||
}
|
}
|
||||||
if (chunkSize)
|
if (chunkSize)
|
||||||
|
{
|
||||||
if (result)
|
if (result)
|
||||||
{
|
{
|
||||||
result = iLiquid->WriteToFile(wf);
|
result = iLiquid->WriteToFile(wf);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user