mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
make GetStyleSettingBool check float instead of int
This commit is contained in:
parent
4aac85d3fd
commit
caeb35febd
@ -420,7 +420,7 @@ public int Native_GetStyleSettingBool(Handle handler, int numParams)
|
||||
|
||||
bool GetStyleSettingBool(int style, char[] key)
|
||||
{
|
||||
return GetStyleSettingInt(style, key) != 0;
|
||||
return GetStyleSettingFloat(style, key) != 0.0;
|
||||
}
|
||||
|
||||
public any Native_GetStyleSettingFloat(Handle handler, int numParams)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user