From 8eae02966998007397a056c99b7e236c30d88bf1 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 15 Dec 2013 11:15:58 -0500 Subject: VOYEUR: Fix for resource pointers resolveAll not clearing it's resolve it --- engines/voyeur/files.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/voyeur/files.cpp b/engines/voyeur/files.cpp index fb9bcc3389..ec95664165 100644 --- a/engines/voyeur/files.cpp +++ b/engines/voyeur/files.cpp @@ -382,6 +382,8 @@ void BoltFile::resolveFunction(uint32 id, GraphicMethodPtr *fn) { void BoltFile::resolveAll() { for (uint idx = 0; idx < _state._resolves.size(); ++idx) *_state._resolves[idx]._p = memberAddrOffset(_state._resolves[idx]._id); + + _state._resolves.clear(); } byte *BoltFile::getBoltMember(uint32 id) { -- cgit v1.2.3