NSClientPlayer: ensure pmodels have a shadow as well

This commit is contained in:
Marco Cawthorne 2024-02-21 13:51:43 -08:00
parent a9836563d1
commit 0e3eb491a6
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 1 additions and 0 deletions

View File

@ -237,6 +237,7 @@ NSClientPlayer::predraw(void)
if (!p_model) {
p_model = spawn(NSRenderableEntity);
p_model.effects = 0; /* we want p-models to cast shadows, just like players */
}
/* make sure we're enabling shadow rendering on us! */