fixed compilation error.

This commit is contained in:
morkt 2015-10-27 11:36:17 +04:00
parent 68baeb5c22
commit 153da0d951

View File

@ -155,7 +155,6 @@ namespace GameRes.Formats.Palette
{ {
var decoder = new PngBitmapDecoder (base_png, BitmapCreateOptions.None, BitmapCacheOption.OnLoad); var decoder = new PngBitmapDecoder (base_png, BitmapCreateOptions.None, BitmapCacheOption.OnLoad);
var base_frame = decoder.Frames[0]; var base_frame = decoder.Frames[0];
var overlay_png = OpenEntry (arc, entry.Source);
decoder = new PngBitmapDecoder (overlay_png, BitmapCreateOptions.None, BitmapCacheOption.OnLoad); decoder = new PngBitmapDecoder (overlay_png, BitmapCreateOptions.None, BitmapCacheOption.OnLoad);
var overlay_frame = decoder.Frames[0]; var overlay_frame = decoder.Frames[0];
int overlay_x = entry.Source.OffsetX; int overlay_x = entry.Source.OffsetX;