diff options
author | Thierry Crozat | 2017-11-16 03:17:44 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:40 +0000 |
commit | 888930660a5a4bef4fe00e69f267ce0d35492dd8 (patch) | |
tree | 8196f70987c2436c2476b80b91b0580fdfa5fe9a /engines/supernova/supernova.cpp | |
parent | 624425077b0353303a72192906c495f619099b7d (diff) | |
download | scummvm-rg350-888930660a5a4bef4fe00e69f267ce0d35492dd8.tar.gz scummvm-rg350-888930660a5a4bef4fe00e69f267ce0d35492dd8.tar.bz2 scummvm-rg350-888930660a5a4bef4fe00e69f267ce0d35492dd8.zip |
SUPERNOVA: Use setCurrentImage instead of passing the image to renderImage
This is more similar to what the original code does and allows to retire
the renderImage variant that takes an image.
Diffstat (limited to 'engines/supernova/supernova.cpp')
-rw-r--r-- | engines/supernova/supernova.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index 0e7631becb..64a06c2ce2 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -457,11 +457,6 @@ void SupernovaEngine::renderImageSection(int section) { sectionRect.width(), sectionRect.height()); } -void SupernovaEngine::renderImage(int filenumber, int section) { - if (setCurrentImage(filenumber)) - renderImage(section); -} - void SupernovaEngine::renderImage(int section) { bool sectionVisible = true; |