From 8e4f5b6f82bf6e2cff76a45b22229d4f206ef3a5 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 28 Jan 2008 20:06:40 +0000 Subject: Fixed warning. svn-id: r30688 --- engines/parallaction/graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 2869dc5c8e..5cc8ce6b98 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -355,7 +355,7 @@ void Gfx::updateScreen() { if (_halfbrite) { // FIXME: the implementation of halfbrite is now largely sub-optimal in that a full screen // rewrite is needed to apply the effect. - Graphics::Surface *surf = g_system->lockScreen(); + surf = g_system->lockScreen(); byte *src = (byte*)_buffers[kBit2]->pixels; byte *dst = (byte*)surf->pixels; for (int i = 0; i < surf->w*surf->h; i++) { -- cgit v1.2.3