Replace a few numeric constants with already defined macros, patch by ZTurtleMan
This commit is contained in:
1 parent
a0582fb21a
commit
06d12f6085
2 files changed
+2
-2
No files matched your search
@@ -1128,7 +1128,7 @@ void R_DecomposeSort( unsigned sort, int *entityNum, shader_t **shader,
|
||||
int *fogNum, int *dlightMap ) {
|
||||
*fogNum = ( sort >> QSORT_FOGNUM_SHIFT ) & 31;
|
||||
*shader = tr.sortedShaders[ ( sort >> QSORT_SHADERNUM_SHIFT ) & (MAX_SHADERS-1) ];
|
||||
*entityNum = ( sort >> QSORT_ENTITYNUM_SHIFT ) & 1023;
|
||||
*entityNum = ( sort >> QSORT_ENTITYNUM_SHIFT ) & (MAX_GENTITIES-1);
|
||||
*dlightMap = sort & 3;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user