diff options
Diffstat (limited to 'src/ui/ui_shared.c')
-rw-r--r-- | src/ui/ui_shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c index de433a85..75abe046 100644 --- a/src/ui/ui_shared.c +++ b/src/ui/ui_shared.c @@ -1628,7 +1628,7 @@ void Script_ConditionalOpen( itemDef_t *item, char **args ) { val = DC->getCVarValue( cvar ); - if( val == 0.f ) + if( val == 0.0f ) Menus_ActivateByName( name2 ); else Menus_ActivateByName( name1 ); |