Browse Source

Merge pull request #7 from Azaezel/taml

transcription error was messing with addProtectedField for arrays
Areloch 10 years ago
parent
commit
a75d8fecea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/console/consoleObject.cpp

+ 1 - 1
Engine/source/console/consoleObject.cpp

@@ -576,7 +576,7 @@ void ConsoleObject::addProtectedField(const char*  in_pFieldname,
       in_setDataFn,
       in_getDataFn,
       &defaultProtectedWriteFn,
-      1,
+      in_elementCount,
       in_pFieldDocs,
       flags);
 }