[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_SELL_TRASH,
|
||||
#endif
|
||||
// Warden
|
||||
CONFIG_BOOL_WARDEN_WIN_ENABLED,
|
||||
CONFIG_BOOL_WARDEN_OSX_ENABLED,
|
||||
CONFIG_BOOL_GM_TICKET_OFFLINE_CLOSING,
|
||||
|
@ -384,10 +384,12 @@ namespace VMAP
|
||||
result = false;
|
||||
}
|
||||
if (count)
|
||||
{
|
||||
if (result && fwrite(&triangles[0], sizeof(MeshTriangle), count, wf) != count)
|
||||
{
|
||||
result = false;
|
||||
}
|
||||
}
|
||||
|
||||
// write mesh BIH
|
||||
if (result && fwrite("MBIH", 1, 4, wf) != 4)
|
||||
@ -410,10 +412,12 @@ namespace VMAP
|
||||
result = false;
|
||||
}
|
||||
if (chunkSize)
|
||||
{
|
||||
if (result)
|
||||
{
|
||||
result = iLiquid->WriteToFile(wf);
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user