NSRenderableEntity: m_iBody should be applied to the first two geomset groups (for now)

to deal with funky GS model behaviour.
This commit is contained in:
Marco Cawthorne 2021-11-10 10:42:52 +01:00
parent 7d717779b3
commit c7845fd694
Signed by: eukara
GPG key ID: C196CD8BA993248A

View file

@ -360,7 +360,7 @@ NSRenderableEntity::ReceiveEntity(float flChanged)
}
if (flChanged & BASEFL_CHANGED_BODY) {
m_iBody = readbyte();
setcustomskin(this, "", sprintf("geomset 1 %i\n", m_iBody));
setcustomskin(this, "", sprintf("geomset 0 %i\ngeomset 1 %i\n", m_iBody, m_iBody));
}
if (flChanged & BASEFL_CHANGED_SCALE) {
scale = readfloat();