From 393ef2201fdd7d2cfb5fb18001c2d9ce6f00ecf9 Mon Sep 17 00:00:00 2001 From: Sara Date: Wed, 29 May 2024 11:47:08 +0200 Subject: [PATCH] fix: removed debug prints --- player_input.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/player_input.cpp b/player_input.cpp index 3712632..4126a2c 100644 --- a/player_input.cpp +++ b/player_input.cpp @@ -26,9 +26,7 @@ PlayerInput::Listener::Listener(gd::String action, gd::Callable callable) std::optional PlayerInput::Listener::evaluate_action(gd::String const &action) { gd::Input *input = gd::Input::get_singleton(); - gd::UtilityFunctions::print("evaluating ", action); if(action.begins_with("_mouse_")) { - gd::UtilityFunctions::print("evaluating ", action, " as mouse motion"); gd::Vector2 vector = PlayerInput::get_last_mouse_motion(); if(action == "_mouse_up") return vector.y > 0.f ? vector.y : 0.f; @@ -42,7 +40,6 @@ std::optional PlayerInput::Listener::evaluate_action(gd::String const &ac if(action.is_empty()) { return 0.f; } else { - gd::UtilityFunctions::print("evaluating ", action, " as regular"); return float(input->is_action_pressed(action)); } }