DEADSOFTWARE

added license info
[d2df-sdl.git] / src / engine / e_graphics.pas
index ef4e6f0b9b69634c3442b2e0bc0bda20c3da377c..6c6249048ada901de73d29b25d57486dc5b7e3b0 100644 (file)
@@ -1,3 +1,18 @@
+(* Copyright (C)  DooM 2D:Forever Developers
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *)
 {$MODE DELPHI}
 unit e_graphics;
 
@@ -1841,7 +1856,7 @@ begin
             clr.r := ps^; Inc(ps);
             clr.g := ps^; Inc(ps);
             clr.b := ps^; Inc(ps);
-            clr.a := 0;
+            clr.a := 255;
             SetPixel32(img, x, y, clr);
           end;
         end;