mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-07 04:34:44 +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{
|
||||
"elementCount", "", 1,
|
||||
TYPE(((ThisType*)16)->mState.mElementCount),
|
||||
FIELDOFFSET(mState.mElementCount)
|
||||
static_cast<U32>(FIELDOFFSET(mState.mElementCount))
|
||||
};
|
||||
}
|
||||
else
|
||||
|
|
@ -1028,7 +1028,7 @@ public:
|
|||
return EngineFieldTable::Field{
|
||||
"arraySize", "", 1,
|
||||
TYPE(((ThisType*)16)->mState.mArraySize),
|
||||
FIELDOFFSET(mState.mArraySize)
|
||||
static_cast<U32>(FIELDOFFSET(mState.mArraySize))
|
||||
};
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ public:
|
|||
}
|
||||
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)
|
||||
{
|
||||
(*this)[i] = children[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue