diff options
-rw-r--r-- | engines/sci/graphics/transitions32.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/graphics/transitions32.cpp b/engines/sci/graphics/transitions32.cpp index 251e439cf5..bceb0fa84d 100644 --- a/engines/sci/graphics/transitions32.cpp +++ b/engines/sci/graphics/transitions32.cpp @@ -60,9 +60,9 @@ GfxTransitions32::GfxTransitions32(SegManager *segMan) : } GfxTransitions32::~GfxTransitions32() { - for (ShowStyleList::iterator it = _showStyles.begin(); it != _showStyles.end(); ++it) { - deleteShowStyle(it); - } + for (ShowStyleList::iterator it = _showStyles.begin(); + it != _showStyles.end(); + it = deleteShowStyle(it)); _scrolls.clear(); } |