You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix always true/false values
This commit is contained in:
@@ -500,9 +500,7 @@ void *PoolAllocator::get(ID p_mem) {
|
||||
if (!needs_locking) {
|
||||
|
||||
Entry *e = get_entry(p_mem);
|
||||
if (!e) {
|
||||
ERR_FAIL_COND_V(!e, NULL);
|
||||
};
|
||||
ERR_FAIL_COND_V(!e, NULL);
|
||||
return &pool[e->pos];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user