mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-23 10:00:41 +00:00
IOQ3 commit 1949
This commit is contained in:
parent
11af9d3237
commit
7b1b5345d5
2 changed files with 2 additions and 2 deletions
|
@ -153,7 +153,7 @@ typedef struct bot_state_s {
|
||||||
playerState_t cur_ps; //current player state
|
playerState_t cur_ps; //current player state
|
||||||
int last_eFlags; //last ps flags
|
int last_eFlags; //last ps flags
|
||||||
usercmd_t lastucmd; //usercmd from last frame
|
usercmd_t lastucmd; //usercmd from last frame
|
||||||
int entityeventTime[1024]; //last entity event time
|
int entityeventTime[MAX_GENTITIES]; //last entity event time
|
||||||
//
|
//
|
||||||
bot_settings_t settings; //several bot settings
|
bot_settings_t settings; //several bot settings
|
||||||
int (*ainode) (struct bot_state_s * bs); //current AI node
|
int (*ainode) (struct bot_state_s * bs); //current AI node
|
||||||
|
|
|
@ -1773,7 +1773,7 @@ void R_DecomposeSort( unsigned sort, int *entityNum, shader_t **shader,
|
||||||
int *fogNum, int *dlightMap ) {
|
int *fogNum, int *dlightMap ) {
|
||||||
*fogNum = ( sort >> QSORT_FOGNUM_SHIFT ) & 31;
|
*fogNum = ( sort >> QSORT_FOGNUM_SHIFT ) & 31;
|
||||||
*shader = tr.sortedShaders[ ( sort >> QSORT_SHADERNUM_SHIFT ) & (MAX_SHADERS-1) ];
|
*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;
|
*dlightMap = sort & 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue