From f5741df25cb58b1ae73db5cb00fdb1b2d601abbf Mon Sep 17 00:00:00 2001 From: Vincent Hamm Date: Sun, 24 Mar 2002 00:27:00 +0000 Subject: Fixed garbadge in inventory section. Removed unused library in the Makefile svn-id: r3806 --- gfx.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gfx.cpp') diff --git a/gfx.cpp b/gfx.cpp index f94ca047d2..56785d286d 100644 --- a/gfx.cpp +++ b/gfx.cpp @@ -67,6 +67,8 @@ void Scumm::initScreens(int a, int b, int w, int h) { void Scumm::initVirtScreen(int slot, int top, int height, bool twobufs, bool fourextra) { VirtScreen *vs = &virtscr[slot]; int size; + int i; + byte *ptr; assert(height>=0); assert(slot>=0 && slot<4); @@ -89,6 +91,10 @@ void Scumm::initVirtScreen(int slot, int top, int height, bool twobufs, bool fou vs->screenPtr = _videoBuffer+328*top; + ptr=vs->screenPtr; + for(i=0;i