Small fixes to redundand code, copy paste bugs
This commit is contained in:
parent
1fed266bf5
commit
616ab4fac2
13 changed files with 16 additions and 18 deletions
|
|
@ -136,6 +136,8 @@ void PHashTranslation::generate(const Ref<Translation> &p_from) {
|
|||
bucket_table_size += 2 + b.size() * 4;
|
||||
}
|
||||
|
||||
ERR_FAIL_COND(bucket_table_size == 0);
|
||||
|
||||
hash_table.resize(size);
|
||||
bucket_table.resize(bucket_table_size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue