NSClientPlayer: ensure pmodels have a shadow as well
This commit is contained in:
parent
a9836563d1
commit
0e3eb491a6
1 changed files with 1 additions and 0 deletions
|
@ -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! */
|
||||
|
|
Loading…
Reference in a new issue