diff options
author | John Mayhew | 2012-04-02 15:29:52 -0700 |
---|---|---|
committer | John Mayhew | 2012-04-02 15:29:52 -0700 |
commit | db70fc673e385e2e80f7b82b8f2a050314769928 (patch) | |
tree | b7155f6ad309b8bd013d7cb97b959ddc72996f57 /js/helper-classes/RDGE/src/core/script/scenegraphNodes.js | |
parent | fb0a659c9ca3479fd6799325498b11f074689936 (diff) | |
download | ninja-db70fc673e385e2e80f7b82b8f2a050314769928.tar.gz |
Fixed compiler warnings
Diffstat (limited to 'js/helper-classes/RDGE/src/core/script/scenegraphNodes.js')
-rwxr-xr-x | js/helper-classes/RDGE/src/core/script/scenegraphNodes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/src/core/script/scenegraphNodes.js b/js/helper-classes/RDGE/src/core/script/scenegraphNodes.js index 56199556..035e30d1 100755 --- a/js/helper-classes/RDGE/src/core/script/scenegraphNodes.js +++ b/js/helper-classes/RDGE/src/core/script/scenegraphNodes.js | |||
@@ -364,7 +364,7 @@ RDGE.materialNodeTemplate = function (matNode) { | |||
364 | var len = channelNumber.length; | 364 | var len = channelNumber.length; |
365 | 365 | ||
366 | for (var i = 0; i < len; ++i) { | 366 | for (var i = 0; i < len; ++i) { |
367 | if (channelNumber[i], MATERIAL_MAX_LIGHTS) | 367 | if (channelNumber[i] < MATERIAL_MAX_LIGHTS) |
368 | matNode.lightChannel[channelNumber[i]] = null; | 368 | matNode.lightChannel[channelNumber[i]] = null; |
369 | } | 369 | } |
370 | } | 370 | } |