Skip to content

Commit

Permalink
Fixed bugs that occured when instantiating packed levels wouldn't mar…
Browse files Browse the repository at this point in the history
…k the instances in the partitions as valid.
  • Loading branch information
fLindahl committed Nov 6, 2024
1 parent 426d2c5 commit 9625530
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/application/basegamefeature/level.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ PackedLevel::Instantiate() const

for (uint16_t rowIndex = partition->numRows; rowIndex < partition->numRows + numRows; rowIndex++)
{
partition->validRows.SetBit(rowIndex);
Game::Entity entity = this->world->AllocateEntity();

Game::EntityMapping& mapping = this->world->entityMap[entity.index];
Expand Down

0 comments on commit 9625530

Please sign in to comment.