mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
shadowvar cleanup
This commit is contained in:
parent
f9aa23f9c5
commit
21b82b737d
3 changed files with 6 additions and 8 deletions
|
|
@ -1542,11 +1542,9 @@ void Entity::write(Stream &stream, U32 tabStop, U32 flags)
|
|||
if (mComponents.size() > 0)
|
||||
{
|
||||
// Pack out the behaviors into fields
|
||||
U32 i = 0;
|
||||
for (U32 i = 0; i < mComponents.size(); i++)
|
||||
{
|
||||
writeTabs(stream, tabStop + 1);
|
||||
char buffer[1024];
|
||||
dSprintf(buffer, sizeof(buffer), "new %s() {\r\n", mComponents[i]->getClassName());
|
||||
stream.write(dStrlen(buffer), buffer);
|
||||
//bi->writeFields( stream, tabStop + 2 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue