wow, it works!

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1190 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
chrisf
2007-07-13 09:15:06 +00:00
parent bbbb25909a
commit d37bab15d0
16 changed files with 136 additions and 57 deletions

View File

@@ -30,7 +30,7 @@ namespace ShpViewer
pal = new Palette(pal, remap);
foreach( ImageHeader h in shpReader )
bitmaps.Add( BitmapBuilder.FromBytes( h.Image, shpReader.Width, shpReader.Height, pal ) );
bitmaps.Add( BitmapBuilder.FromBytes( h.Image, shpReader.Size, pal ) );
}
else if( ext == ".tem" || ext == ".sno" || ext == ".int" )
{