mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
mac fix, needed to tell it yes, we'll never have a >32 bit offset for a member variable
typofix in tree. which...somehow compiled on windows anyway... will have to hunt that down..
This commit is contained in:
parent
c4948c38c9
commit
fc8c3531cb
2 changed files with 3 additions and 3 deletions
|
|
@ -1012,7 +1012,7 @@ public:
|
||||||
return EngineFieldTable::Field{
|
return EngineFieldTable::Field{
|
||||||
"elementCount", "", 1,
|
"elementCount", "", 1,
|
||||||
TYPE(((ThisType*)16)->mState.mElementCount),
|
TYPE(((ThisType*)16)->mState.mElementCount),
|
||||||
FIELDOFFSET(mState.mElementCount)
|
static_cast<U32>(FIELDOFFSET(mState.mElementCount))
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -1028,7 +1028,7 @@ public:
|
||||||
return EngineFieldTable::Field{
|
return EngineFieldTable::Field{
|
||||||
"arraySize", "", 1,
|
"arraySize", "", 1,
|
||||||
TYPE(((ThisType*)16)->mState.mArraySize),
|
TYPE(((ThisType*)16)->mState.mArraySize),
|
||||||
FIELDOFFSET(mState.mArraySize)
|
static_cast<U32>(FIELDOFFSET(mState.mArraySize))
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,7 @@ public:
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const U32 n = getMin<U32>(children.size(), CHILD_COUNT);
|
const U32 n = getMin(children.size(), CHILD_COUNT);
|
||||||
for (U32 i = 0; i < n; ++i)
|
for (U32 i = 0; i < n; ++i)
|
||||||
{
|
{
|
||||||
(*this)[i] = children[i];
|
(*this)[i] = children[i];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue