mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-26 18:13:47 +00:00
Final Linux compliance changes(renames, tweaks for gcc compliance, etc)
This commit is contained in:
parent
f5e86a83b5
commit
510b726f6f
25 changed files with 47 additions and 46 deletions
|
|
@ -21,7 +21,7 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
#include "platform/platform.h"
|
||||
#include "console/consoleTypes.h"
|
||||
#include "T3D/components/render/meshcomponent.h"
|
||||
#include "T3D/components/render/meshComponent.h"
|
||||
#include "core/util/safeDelete.h"
|
||||
#include "core/resourceManager.h"
|
||||
#include "core/stream/fileStream.h"
|
||||
|
|
@ -222,7 +222,9 @@ U32 MeshComponent::packUpdate(NetConnection *con, U32 mask, BitStream *stream)
|
|||
for(U32 i=0; i < mChangingMaterials.size(); i++)
|
||||
{
|
||||
stream->writeInt(mChangingMaterials[i].slot, 16);
|
||||
con->packNetStringHandleU(stream, NetStringHandle(mChangingMaterials[i].matName));
|
||||
|
||||
NetStringHandle matNameStr = mChangingMaterials[i].matName.c_str();
|
||||
con->packNetStringHandleU(stream, matNameStr);
|
||||
}
|
||||
|
||||
mChangingMaterials.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue