diff options
author | Zack Middleton <zturtleman@gmail.com> | 2012-10-30 09:00:58 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 21:23:55 +0000 |
commit | 93f47fe2da7d7e18ec9c2f0cf2b11b5b6d9fbc61 (patch) | |
tree | 724482c440b38776d8ead4efe85642d1ba005ce2 /src | |
parent | 246a019111715e498539fbc18e62a3a645910c03 (diff) |
Clean up getting pshadowMap in Rend2's R_DecomposeSort().
Diffstat (limited to 'src')
-rw-r--r-- | src/rend2/tr_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rend2/tr_main.c b/src/rend2/tr_main.c index ea842ff3..f91c943a 100644 --- a/src/rend2/tr_main.c +++ b/src/rend2/tr_main.c @@ -1868,7 +1868,7 @@ void R_DecomposeSort( unsigned sort, int *entityNum, shader_t **shader, *fogNum = ( sort >> QSORT_FOGNUM_SHIFT ) & 31; *shader = tr.sortedShaders[ ( sort >> QSORT_SHADERNUM_SHIFT ) & (MAX_SHADERS-1) ]; *entityNum = ( sort >> QSORT_REFENTITYNUM_SHIFT ) & REFENTITYNUM_MASK; - *pshadowMap = (sort & 2) >> 1; + *pshadowMap = (sort >> QSORT_PSHADOW_SHIFT ) & 1; *dlightMap = sort & 1; } |