mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-27 07:09:38 -04:00
fix scaled sit model (thanks goodlyay)
This commit is contained in:
parent
787a6a2a5a
commit
2647dfa2df
@ -64,7 +64,7 @@ namespace ClassicalSharp.Model {
|
||||
}
|
||||
|
||||
protected override Matrix4 TransformMatrix(Entity p, Vector3 pos) {
|
||||
pos.Y -= sitOffset / 16f;
|
||||
pos.Y -= (sitOffset / 16f) * p.ModelScale;
|
||||
return p.TransformMatrix(p.ModelScale, pos);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user