| 598 | */ |
| 599 | |
| 600 | static void Q3_TaskIDSet( gentity_t *ent, taskID_t taskType, int taskID ) |
| 601 | { |
| 602 | if ( taskType < TID_CHAN_VOICE || taskType >= NUM_TIDS ) |
| 603 | { |
| 604 | return; |
| 605 | } |
| 606 | |
| 607 | //Might be stomping an old task, so complete and clear previous task if there was one |
| 608 | Q3_TaskIDComplete( ent, taskType ); |
| 609 | |
| 610 | ent->taskID[taskType] = taskID; |
| 611 | } |
| 612 | |
| 613 | |
| 614 | /* |
no test coverage detected