From 8cc6d8d0eb71c176cbe5f98385dd658e8228a17d Mon Sep 17 00:00:00 2001 From: Jordi Vilalta Prat Date: Fri, 23 Jul 2010 13:05:16 +0000 Subject: GROOVIE: Fix compilation. svn-id: r51206 --- engines/groovie/vdx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/groovie') diff --git a/engines/groovie/vdx.cpp b/engines/groovie/vdx.cpp index 04910ec128..efb80059f7 100644 --- a/engines/groovie/vdx.cpp +++ b/engines/groovie/vdx.cpp @@ -489,8 +489,9 @@ void VDXPlayer::decodeBlockDelta(uint32 offset, byte *colours, uint16 imageWidth // Move the pointers to the beginning of the current block int32 blockOff = _origX + _origY * imageWidth; dest += blockOff; + byte *fgBuf; if (_flagSeven) { - byte *fgBuf = (byte *)_fg->getBasePtr(0, 0) + offset + blockOff; + fgBuf = (byte *)_fg->getBasePtr(0, 0) + offset + blockOff; //byte *bgBuf = (byte *)_bg->getBasePtr(0, 0) + offset + blockOff; } -- cgit v1.2.3