| 750 | } |
| 751 | |
| 752 | void sendspawn(client *c) |
| 753 | { |
| 754 | if(team_isspect(c->team)) return; |
| 755 | clientstate &gs = c->state; |
| 756 | gs.respawn(); |
| 757 | gs.spawnstate(sg->smode); |
| 758 | gs.lifesequence++; |
| 759 | sendf(c->clientnum, 1, "ri7vv", SV_SPAWNSTATE, gs.lifesequence, |
| 760 | gs.health, gs.armour, |
| 761 | gs.primary, gs.gunselect, m_arena ? c->spawnindex : -1, |
| 762 | NUMGUNS, gs.ammo, NUMGUNS, gs.mag); |
| 763 | gs.lastspawn = sg->gamemillis; |
| 764 | } |
| 765 | |
| 766 | // simultaneous demo recording, fully buffered |
| 767 |
no test coverage detected