wip: removing vec3 tls

This commit is contained in:
orng
2026-03-26 01:10:27 -05:00
parent c18e86944f
commit 7b021bc99d
62 changed files with 1070 additions and 1045 deletions

View File

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