From f35aa095f3f12df6655ad43b24151eed531a75d2 Mon Sep 17 00:00:00 2001 From: zvon Date: Sat, 7 Aug 2021 21:43:27 +0200 Subject: [PATCH] Mario: remove useless debug outputs --- mario/editor.cpp | 1 - mario/visitors/mushroom_visitor.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/mario/editor.cpp b/mario/editor.cpp index c28024f..640ac2f 100644 --- a/mario/editor.cpp +++ b/mario/editor.cpp @@ -584,7 +584,6 @@ void placeTool( SDLPP::Scene &scene ) { scene.visitCollisions( *global_vars.current_tool, visitor ); auto &obj = getSelectedObject(); - std::cout << "Remove? " << (visitor.removeBlock() ? "YES" : "NO") << ", Add?" << (visitor.addBlock() ? "YES" : "NO") << std::endl; if ( visitor.removeBlock() && !visitor.addBlock() ) { switch ( visitor.getVisitorType() ) { case VisitorType::Terrain: diff --git a/mario/visitors/mushroom_visitor.cpp b/mario/visitors/mushroom_visitor.cpp index 6bd4cc8..2f59419 100644 --- a/mario/visitors/mushroom_visitor.cpp +++ b/mario/visitors/mushroom_visitor.cpp @@ -44,7 +44,6 @@ void MushroomVisitor::visit( const SDLPP::RenderObject &obj ) { } break; case MARIO_ID: - std::cout << "MARIO" << std::endl; death = true; default: break;