From d0da9069cefb16930b55b4fdb38b126b4802dff1 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 21 Sep 2016 06:48:35 +0200 Subject: FULLPIPE: Fix alpha data type --- engines/fullpipe/gfx.cpp | 2 +- engines/fullpipe/gfx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp index 0007389ec9..4dec4b640c 100644 --- a/engines/fullpipe/gfx.cpp +++ b/engines/fullpipe/gfx.cpp @@ -833,7 +833,7 @@ void Bitmap::decode(int32 *palette) { putDibCB(palette); } -void Bitmap::putDib(int x, int y, int32 *palette, int alpha) { +void Bitmap::putDib(int x, int y, int32 *palette, byte alpha) { debugC(7, kDebugDrawing, "Bitmap::putDib(%d, %d)", x, y); int x1 = x - g_fp->_sceneRect.left; diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h index cbba550041..566586fb48 100644 --- a/engines/fullpipe/gfx.h +++ b/engines/fullpipe/gfx.h @@ -47,7 +47,7 @@ struct Bitmap { void load(Common::ReadStream *s); void decode(int32 *palette); - void putDib(int x, int y, int32 *palette, int alpha); + void putDib(int x, int y, int32 *palette, byte alpha); bool putDibRB(int32 *palette); void putDibCB(int32 *palette); -- cgit v1.2.3