Filter sprSDFlake too, so engine could pass initialization gl2
authorunc0rr
Fri, 10 Jan 2014 00:57:15 +0400
branchgl2
changeset 7387 f8a79052fe97
parent 7384 85b022855f9a
Filter sprSDFlake too, so engine could pass initialization
hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Thu Jan 09 22:38:40 2014 +0400
+++ b/hedgewars/uStore.pas	Fri Jan 10 00:57:15 2014 +0400
@@ -402,7 +402,7 @@
                     sh:=Trunc(Height*scale);
                     if (sw > imageWidth) or (sh > imageHeight) then
                     begin
-                        if not (ii in [sprPHammer, sprBalls, sprSnow]) then
+                        if not (ii in [sprPHammer, sprBalls, sprSnow, sprSDFlake]) then
                         begin
                             writeln(stdout, 'Dimension error in ' + FileName + ' [' + IntToStr(Integer(ii)) + ']');
                             halt(-1);