aboutsummaryrefslogtreecommitdiffhomepage
path: root/event.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-17 11:40:26 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-17 11:40:26 -0800
commitfdef238a83d34406144efd0be979b18d6b4d8b52 (patch)
treea54f534cf5362d6d41cc0b2c7e41d7d119af22f9 /event.cpp
parent9787901ddb05d3ceb4ed4fc66b76581acc37d62e (diff)
Fix to stop spamming console with event messages (oops)
Diffstat (limited to 'event.cpp')
-rw-r--r--event.cpp5
1 files changed, 1 insertions, 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<event_t *> *out )