Fixed region sequence for libgdx.

This commit is contained in:
NathanSweet 2013-03-21 14:57:30 +01:00
parent 0c2e2b1d3e
commit 760319990f

View File

@ -47,7 +47,7 @@ public class TextureAtlasAttachmentLoader implements AttachmentLoader {
attachment = new RegionAttachment(name); attachment = new RegionAttachment(name);
break; break;
case regionSequence: case regionSequence:
attachment = new RegionAttachment(name); attachment = new RegionSequenceAttachment(name);
break; break;
default: default:
throw new IllegalArgumentException("Unknown attachment type: " + type); throw new IllegalArgumentException("Unknown attachment type: " + type);