* fix _castShadows > 1: cast on world, as advertised
This commit is contained in:
parent
4471302857
commit
0e4a4fdcf6
|
|
@ -1276,9 +1276,9 @@ bool TraceTriangle( traceInfo_t *ti, traceTriangle_t *tt, trace_t *trace ){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* receive shadows from worldspawn group only */
|
/* worldspawn group only receives shadows from positive groups */
|
||||||
if ( trace->recvShadows == 1 ) {
|
if ( trace->recvShadows == 1 ) {
|
||||||
if ( ti->castShadows != 1 ) {
|
if ( ti->castShadows <= 0 ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user