[EDIT] loadingscreen now has a background, and got rid of some memory leaks

This commit is contained in:
Jasper
2021-06-18 15:09:30 +02:00
parent ad2d651d41
commit 17b585190a
5 changed files with 23 additions and 17 deletions

View File

@@ -113,7 +113,7 @@ namespace scene
}
int z_offset = model_pos * (house_generator->GetHouseDepth()); // how much "in the distance" we should load the model
std::deque<std::shared_ptr<entities::Entity>> furniture;
std::deque<std::shared_ptr<entities::CollisionEntity>> furniture;
house_generator->GenerateHouse(&furniture, glm::vec3(0, -75, -50 - z_offset), 90);
furniture_count = furniture.size();