diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-17 11:40:26 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-17 11:40:26 -0800 |
commit | fdef238a83d34406144efd0be979b18d6b4d8b52 (patch) | |
tree | a54f534cf5362d6d41cc0b2c7e41d7d119af22f9 /event.cpp | |
parent | 9787901ddb05d3ceb4ed4fc66b76581acc37d62e (diff) |
Fix to stop spamming console with event messages (oops)
Diffstat (limited to 'event.cpp')
-rw-r--r-- | event.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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<event_t *> *out ) |