From 948c555ea616821ed7c2678ad406ed5bea392339 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Tue, 31 Dec 2019 19:19:42 +0000 Subject: ALL: Create all instances of NEResources and PEResources using new instead of on the stack Also adapted WinCursorGroup and MacMenu to reflect this. --- engines/gob/inter_v7.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob') diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp index fd9406054c..79a843f66e 100644 --- a/engines/gob/inter_v7.cpp +++ b/engines/gob/inter_v7.cpp @@ -181,7 +181,7 @@ void Inter_v7::o7_loadCursor() { // Load the cursor file and cursor group if (loadCursorFile()) - cursorGroup = Graphics::WinCursorGroup::createCursorGroup(*_cursors, Common::WinResourceID(cursorName)); + cursorGroup = Graphics::WinCursorGroup::createCursorGroup(_cursors, Common::WinResourceID(cursorName)); // If the requested cursor does not exist, create a default one const Graphics::Cursor *cursor = 0; -- cgit v1.2.3