Merge pull request from riccardobl/master

Fix for ZipLocator and path with the root slash
This commit is contained in:
Kirill Vainer 2015-06-20 13:47:46 -04:00
commit 6312f1a813

@ -82,6 +82,7 @@ public class ZipLocator implements AssetLocator {
public AssetInfo locate(AssetManager manager, AssetKey key) {
String name = key.getName();
if(name.startsWith("/"))name=name.substring(1);
ZipEntry entry = zipfile.getEntry(name);
if (entry == null)
return null;