mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 02:32:06 +00:00
Fix hashmap collisions sometimes hanging deletion
This commit is contained in:
@@ -78,6 +78,7 @@ bool hash_RemoveElement(HashMap map, char const *key)
|
||||
*ptr = next;
|
||||
return true;
|
||||
}
|
||||
ptr = &(*ptr)->next;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user