mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
* BugFix: Clear a lot of warnings and correct a few actual programming errors along the way.
This commit is contained in:
parent
ef514d0e6b
commit
1b6b803a20
61 changed files with 120 additions and 118 deletions
|
|
@ -125,7 +125,7 @@ S32 QSORT_CALLBACK ArrayObject::_valueFunctionCompare( const void* a, const void
|
|||
|
||||
ArrayObject::ArrayObject()
|
||||
: mCaseSensitive( false ),
|
||||
mCurrentIndex( NULL )
|
||||
mCurrentIndex( 0 )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +137,7 @@ void ArrayObject::initPersistFields()
|
|||
"Makes the keys and values case-sensitive.\n"
|
||||
"By default, comparison of key and value strings will be case-insensitive." );
|
||||
|
||||
addProtectedField( "key", TypeCaseString, NULL, &_addKeyFromField, &emptyStringProtectedGetFn,
|
||||
addProtectedField( "key", TypeCaseString, 0, &_addKeyFromField, &emptyStringProtectedGetFn,
|
||||
"Helper field which allows you to add new key['keyname'] = value pairs." );
|
||||
|
||||
Parent::initPersistFields();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue