diff options
author | Paul Gilbert | 2012-05-12 10:34:52 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-05-12 10:34:52 +1000 |
commit | a153f9a2e633c788edd00b1c71c75377a3319e66 (patch) | |
tree | fbdc45d8727e0f2f8e9b4568798c4b0fd3f9dcfa /engines/tony/gfxcore.cpp | |
parent | 166980fa4f7aa29ef604307662ed04d21b26a211 (diff) | |
download | scummvm-rg350-a153f9a2e633c788edd00b1c71c75377a3319e66.tar.gz scummvm-rg350-a153f9a2e633c788edd00b1c71c75377a3319e66.tar.bz2 scummvm-rg350-a153f9a2e633c788edd00b1c71c75377a3319e66.zip |
TONY: Explicitly initialise fields of various objects in their constructors
This fixes a crash when the pop-up inventory was displayed.
Diffstat (limited to 'engines/tony/gfxcore.cpp')
-rw-r--r-- | engines/tony/gfxcore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp index de78b51a4e..344542b801 100644 --- a/engines/tony/gfxcore.cpp +++ b/engines/tony/gfxcore.cpp @@ -287,6 +287,7 @@ RMGfxClearTask RMGfxTargetBuffer::taskClear; RMGfxTargetBuffer::RMGfxTargetBuffer() { otlist = NULL; + m_otSize = 0; csModifyingOT = g_system->createMutex(); } |