refactor: begin unglobbing std::vector
This commit is contained in:
1 parent
d2e8a0f9f5
commit
5fad08b9fd
286 files changed
+738
-738
No files matched your search
@@ -172,7 +172,7 @@ void Throwable::tick()
|
||||
if (!level->isClientSide)
|
||||
{
|
||||
std::shared_ptr<Entity> hitEntity = nullptr;
|
||||
vector<std::shared_ptr<Entity> > *objects = level->getEntities(shared_from_this(), this->bb->expand(xd, yd, zd)->grow(1, 1, 1));
|
||||
std::vector<std::shared_ptr<Entity> > *objects = level->getEntities(shared_from_this(), this->bb->expand(xd, yd, zd)->grow(1, 1, 1));
|
||||
double nearest = 0;
|
||||
for (int i = 0; i < objects->size(); i++)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user