From b40452459942ba900e34a3858d5bd33ba33b1c6c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 17 Jun 2016 12:06:46 +0200 Subject: TONY: Complete class initializations --- engines/tony/mpal/mpalutils.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/tony/mpal') diff --git a/engines/tony/mpal/mpalutils.cpp b/engines/tony/mpal/mpalutils.cpp index 84c8a68919..d52e7332cc 100644 --- a/engines/tony/mpal/mpalutils.cpp +++ b/engines/tony/mpal/mpalutils.cpp @@ -37,6 +37,8 @@ namespace MPAL { * @param resId MPAL resource to open */ RMRes::RMRes(uint32 resID) { + _buf = NULL; + _h = g_vm->_resUpdate.queryResource(resID); if (_h == NULL) _h = mpalQueryResource(resID); -- cgit v1.2.3