Fix always true/false values
This commit is contained in:
parent
7a8dcb9a11
commit
072e40368e
32 changed files with 128 additions and 184 deletions
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue