Small fixes to redundand code, copy paste bugs

This commit is contained in:
qarmin
2019-10-14 11:40:55 +02:00
parent 1fed266bf5
commit 616ab4fac2
13 changed files with 16 additions and 18 deletions

View File

@ -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);