diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-04 11:28:49 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-04 11:28:49 +0100 |
| commit | fd9fb062a3e8bfabb48d2fd9db90a00c0bcc53a2 (patch) | |
| tree | f8929520e9e7bac37f9dab8fbe28f6994bba64a3 /src/gui.cpp | |
| parent | World tint: include props/ materials; log static studio draws (diff) | |
| download | hl2h-fd9fb062a3e8bfabb48d2fd9db90a00c0bcc53a2.tar.gz hl2h-fd9fb062a3e8bfabb48d2fd9db90a00c0bcc53a2.zip | |
Props: tint through DrawModel/DrawModelArray; drop m_clrRender writes
m_clrRender resolved to offset 0 in this build; writing it stomped entity
vtables instead of tinting anything. Remove that path.
The static-prop logging showed DrawModelStaticProp is never called for these
props, so hook the other studio draw entries as well: DrawModel (29) for
entity models and DrawModelArray (46, the instanced static-prop path). Both
read the model name from DrawModelInfo_t::m_pStudioHdr and force the prop
colour for models/props* draws.
Diffstat (limited to 'src/gui.cpp')
0 files changed, 0 insertions, 0 deletions
