aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d/versailles/toolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cryomni3d/versailles/toolbar.cpp')
-rw-r--r--engines/cryomni3d/versailles/toolbar.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/cryomni3d/versailles/toolbar.cpp b/engines/cryomni3d/versailles/toolbar.cpp
index e0168e29cc..2f9426beac 100644
--- a/engines/cryomni3d/versailles/toolbar.cpp
+++ b/engines/cryomni3d/versailles/toolbar.cpp
@@ -410,9 +410,6 @@ bool Toolbar::displayToolbar(const Graphics::Surface *original) {
_bgSurface.w, original->h));
_engine->makeTranslucent(_bgSurface, subset);
- // Draw the original surface on the surface to use for toolbar
- g_system->copyRectToScreen(original->getPixels(), original->pitch, 0, 0, original->w, original->h);
-
// WORKAROUND: Reset the inventory status at init to let sprites highlighted until toolbar is hidden
_inventorySelected = -1;
_inventoryHovered = -1;
@@ -479,8 +476,6 @@ void Toolbar::handleToolbarEvents(const Graphics::Surface *original) {
// No need of original surface because the toolbar is fully displayed
drawToolbar(original);
- // TODO: countdown
-
g_system->copyRectToScreen(_destSurface.getPixels(), _destSurface.pitch, 0,
original->h - _destSurface.h, _destSurface.w, _destSurface.h);
g_system->updateScreen();