fix non player class pathshape jitter

everything has a consistent getRenderTransform() nowadays
This commit is contained in:
AzaezelX 2024-02-21 12:24:38 -06:00
parent 25a3c3325f
commit a4da6727ed

View file

@ -1729,11 +1729,7 @@ void SceneObject::updateRenderChangesByParent(){
//add the "offset" caused by the parents change, and add it to it's own //add the "offset" caused by the parents change, and add it to it's own
// This is needed by objects that update their own render transform thru interpolate tick // This is needed by objects that update their own render transform thru interpolate tick
// Mostly for stationary objects. // Mostly for stationary objects.
mat.mul(offset,getRenderTransform());
if (getClassName() == StringTable->insert("Player"))
mat.mul(offset,getRenderTransform());
else
mat.mul(offset,getTransform());
setRenderTransform(mat); setRenderTransform(mat);
} }
} }