From e27d2f71448c1978e3be115cca3ef84a930a0dce Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 15 Mar 2009 09:39:16 +0000 Subject: Set mouse buffers in Amiga version of BRA, so selecting inventory object no longer crashes. svn-id: r39414 --- engines/parallaction/input.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'engines/parallaction') diff --git a/engines/parallaction/input.cpp b/engines/parallaction/input.cpp index a681660ce0..24e92fa3f2 100644 --- a/engines/parallaction/input.cpp +++ b/engines/parallaction/input.cpp @@ -472,7 +472,13 @@ void Input::initCursors() { _mouseArrow = _donnaCursor; } else { // TODO: Where are the Amiga cursors? - _mouseArrow = 0; + Graphics::Surface *surf1 = new Graphics::Surface; + surf1->create(_mouseComboProps_BR._width, _mouseComboProps_BR._height, 1); + _comboArrow = new SurfaceToFrames(surf1); + + Graphics::Surface *surf2 = new Graphics::Surface; + surf2->create(_mouseComboProps_BR._width, _mouseComboProps_BR._height, 1); + _mouseArrow = new SurfaceToFrames(surf2); } break; -- cgit v1.2.3