Fix .shp icons being misdetected as .wsa animations.
This commit is contained in:
committed by
reaperrr
parent
b2f18ad0ad
commit
f1f5df3749
@@ -34,6 +34,8 @@ namespace OpenRA.Mods.Cnc.VideoLoaders
|
|||||||
var start = s.Position;
|
var start = s.Position;
|
||||||
|
|
||||||
var frames = s.ReadUInt16();
|
var frames = s.ReadUInt16();
|
||||||
|
if (frames <= 1) // TODO: find a better way to differentiate .shp icons
|
||||||
|
return false;
|
||||||
|
|
||||||
var x = s.ReadUInt16();
|
var x = s.ReadUInt16();
|
||||||
var y = s.ReadUInt16();
|
var y = s.ReadUInt16();
|
||||||
|
|||||||
Reference in New Issue
Block a user