From 72f438b0d88d9c5e97e7014062b114f789b5ca0c Mon Sep 17 00:00:00 2001 From: dpethes Date: Mon, 20 Oct 2014 16:10:08 +0200 Subject: [PATCH] hmt parser: save texture images for image type 1 --- hmt_parser/main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hmt_parser/main.pas b/hmt_parser/main.pas index 4a09565..6714226 100644 --- a/hmt_parser/main.pas +++ b/hmt_parser/main.pas @@ -33,7 +33,7 @@ end; procedure SaveImage(var image: TRSImage; const outname: string); begin case image.type_ of - 0: pnm_save(outname + '.pnm', image.pixels, image.width, image.height); + 0, 1: pnm_save(outname + '.pnm', image.pixels, image.width, image.height); //3: WriteTga(outname + '.tga', image.pixels, image.width, image.height, image.width * image.height * 4); 4: pgm_save(outname + '.pgm', image.pixels, image.width, image.height); else