We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 172f972 commit cfd924dCopy full SHA for cfd924d
1 file changed
src/tilemap/TilemapParser.js
@@ -242,11 +242,11 @@ Phaser.TilemapParser = {
242
var bytes = new Array( len );
243
// Interpret binaryString as an array of bytes representing
244
// little-endian encoded uint32 values.
245
- for (var i = 0; i < len; i+=4) {
246
- bytes[i/4] = (binaryString.charCodeAt(i) |
247
- binaryString.charCodeAt(i+1) << 8 |
248
- binaryString.charCodeAt(i+2) << 16 |
249
- binaryString.charCodeAt(i+3) << 24) >>> 0;
+ for (var j = 0; j < len; j+=4) {
+ bytes[j/4] = (binaryString.charCodeAt(j) |
+ binaryString.charCodeAt(j+1) << 8 |
+ binaryString.charCodeAt(j+2) << 16 |
+ binaryString.charCodeAt(j+3) << 24) >>> 0;
250
}
251
curl.data = bytes;
252
0 commit comments