From fdef238a83d34406144efd0be979b18d6b4d8b52 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 17 Feb 2012 11:40:26 -0800 Subject: Fix to stop spamming console with event messages (oops) --- event.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/event.cpp b/event.cpp index c6d31b03..9c59bb0d 100644 --- a/event.cpp +++ b/event.cpp @@ -243,9 +243,7 @@ void event_add_handler( event_t *event ) signal_handle( e->param1.signal, 1 ); } - events.push_back(e); - - show_all_handlers(); + events.push_back(e); } void event_remove( event_t *criterion ) @@ -295,7 +293,6 @@ void event_remove( event_t *criterion ) } } events.swap(new_list); - show_all_handlers(); } int event_get( event_t *criterion, std::vector *out ) -- cgit v1.2.3