Make ISpriteLoader aware of the source file name.
This commit is contained in:
@@ -31,7 +31,7 @@ namespace OpenRA.Mods.Cnc.SpriteLoaders
|
||||
return isZipFile;
|
||||
}
|
||||
|
||||
public bool TryParseSprite(Stream s, out ISpriteFrame[] frames, out TypeDictionary metadata)
|
||||
public bool TryParseSprite(Stream s, string filename, out ISpriteFrame[] frames, out TypeDictionary metadata)
|
||||
{
|
||||
metadata = null;
|
||||
if (!IsShpRemastered(s))
|
||||
|
||||
Reference in New Issue
Block a user