hedgewars/uStore.pas
changeset 12601 c9711561f947
parent 12597 00b539e6115d
child 12626 d972b31f8881
--- a/hedgewars/uStore.pas	Fri Sep 29 22:39:31 2017 +0200
+++ b/hedgewars/uStore.pas	Fri Sep 29 22:53:53 2017 +0200
@@ -447,7 +447,7 @@
                         end;
                 if (ii in [sprAMAmmos, sprAMAmmosBW]) then
                     begin
-                    tmpoverlay := LoadDataImage(Path, copy(FileName, 1, length(FileName)-5), (imflags and not ifCritical));
+                    tmpoverlay := LoadDataImage(Path, copy(FileName, 1, length(FileName)-5), (imflags and (not ifCritical)));
                     if tmpoverlay <> nil then
                         begin
                         copyToXY(tmpoverlay, tmpsurf, 0, 0);