improved event handling of dialog (door/envelope) requests
[rocksndiamonds.git] / src / events.c
index 7a366aa7fc4e24b7f121fd7a7f41df31ae168923..b2bf0979495a2b8e139f49bd043c5cfef18641e3 100644 (file)
@@ -131,7 +131,7 @@ boolean SkipPressedMouseMotionEvent(const Event *event)
    when using SDL with properly installed event filter, this function can be
    replaced with a simple "NextEvent()" call, but it doesn't hurt either */
 
-static boolean NextValidEvent(Event *event)
+boolean NextValidEvent(Event *event)
 {
   while (PendingEvent())
   {