wip: removing vec3 tls
This commit is contained in:
1 parent
c18e86944f
commit
7b021bc99d
62 files changed
+1070
-1045
No files matched your search
@@ -142,7 +142,7 @@ void Throwable::tick() {
|
||||
from = Vec3::newTemp(x, y, z);
|
||||
to = Vec3::newTemp(x + xd, y + yd, z + zd);
|
||||
if (res != NULL) {
|
||||
to = Vec3::newTemp(res->pos->x, res->pos->y, res->pos->z);
|
||||
to = Vec3::newTemp(res->pos.x, res->pos.y, res->pos.z);
|
||||
}
|
||||
|
||||
if (!level->isClientSide) {
|
||||
@@ -256,4 +256,4 @@ std::shared_ptr<LivingEntity> Throwable::getOwner() {
|
||||
owner = level->getPlayerByName(ownerName);
|
||||
}
|
||||
return owner;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user