Meh, stupid bug in cl_gecko. Sorry about that :-(
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 10 Dec 2007 00:04:37 +0000 (00:04 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 10 Dec 2007 00:04:37 +0000 (00:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7783 d7cf8633-e32d-0410-b094-e92efae38249

cl_gecko.c

index 3d200dc..2289021 100644 (file)
@@ -396,12 +396,13 @@ qboolean CL_Gecko_Event_Key( clgecko_t *instance, int key, clgecko_buttoneventty
                        break;\r
                case CLG_BET_PRESS:\r
                        // hihi, hacky hacky\r
-                       osgk_browser_event_key( instance->browser, mappedkey, meDown );\r
+                       osgk_browser_event_mouse_button( instance->browser, mappedbutton, meDown );\r
                        mappedtype = meUp;\r
                        break;\r
                }\r
 \r
-               return osgk_browser_event_key( instance->browser, mappedkey, mappedtype ) != 0;\r
+               osgk_browser_event_mouse_button( instance->browser, mappedbutton, mappedtype );\r
+               return true;\r
        }\r
        // TODO: error?\r
        return false;\r