Merge pull request #1691 from Azaezel/alpha41/projectileProjection
Some checks failed
Linux Build / Ubuntu Latest GCC (push) Has been cancelled
MacOSX Build / MacOSX Latest Clang (push) Has been cancelled
Windows Build / Windows Latest MSVC (push) Has been cancelled

client projectile origin tweak
This commit is contained in:
Brian Roberts 2026-03-19 16:02:25 -05:00 committed by GitHub
commit 1e2a3ffcf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -873,8 +873,11 @@ bool Projectile::onAdd()
}
}
if (mSourceObject.isValid())
{
processAfter(mSourceObject);
if (isClientObject())
mSourceObject->getRenderMuzzlePoint(mSourceObjectSlot, &mCurrPosition);
}
// Setup our bounding box
if (bool(mDataBlock->getProjectileShape()) == true)
mObjBox = mDataBlock->getProjectileShape()->mBounds;