forked from Telodendria/Telodendria
Fix some invalid structures.
This commit is contained in:
parent
787a891cb8
commit
1087069416
2 changed files with 4 additions and 4 deletions
|
@ -272,7 +272,7 @@ HashMapIterate(HashMap * map, char **key, void **value)
|
|||
void
|
||||
HashMapMaxLoadSet(HashMap * map, float load)
|
||||
{
|
||||
if (!map)
|
||||
if (!map || (load > 1.0 || load <= 0))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue