r3321 - trunk/data/qcsrc/menu/item
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jan 30 17:42:03 EST 2008
Author: div0
Date: 2008-01-30 17:42:03 -0500 (Wed, 30 Jan 2008)
New Revision: 3321
Modified:
trunk/data/qcsrc/menu/item/button.c
Log:
fix bug with probability near 0
Modified: trunk/data/qcsrc/menu/item/button.c
===================================================================
--- trunk/data/qcsrc/menu/item/button.c 2008-01-30 22:26:19 UTC (rev 3320)
+++ trunk/data/qcsrc/menu/item/button.c 2008-01-30 22:42:03 UTC (rev 3321)
@@ -151,7 +151,7 @@
drawLabel(me);
- if(me.clickTime > 0 && me.clickTime < frametime)
+ if(me.clickTime > 0 && me.clickTime <= frametime)
{
// keyboard click timer expired? Fire the event then.
if not(me.disabled)
More information about the nexuiz-commits
mailing list