mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 22:20:44 +00:00
Fixed SpriteSheetFromAtlas out of range sourceIndex
This commit is contained in:
parent
de2e7847df
commit
7cbf56c3ae
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ var SpriteSheetFromAtlas = function (texture, frame, config)
|
|||
var frameX = margin;
|
||||
var frameY = margin;
|
||||
var frameIndex = 0;
|
||||
var sourceIndex = frame.sourceIndex;
|
||||
var sourceIndex = 0;
|
||||
|
||||
for (var sheetY = 0; sheetY < column; sheetY++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue