| 1791 | } |
| 1792 | |
| 1793 | int numplayers() |
| 1794 | { |
| 1795 | int count = 1; |
| 1796 | #ifdef STANDALONE |
| 1797 | count = numclients(); |
| 1798 | #else |
| 1799 | if(m_botmode) |
| 1800 | { |
| 1801 | extern vector<botent *> bots; |
| 1802 | loopv(bots) if(bots[i]) count++; |
| 1803 | } |
| 1804 | if(m_demo) |
| 1805 | { |
| 1806 | count = numclients(); |
| 1807 | } |
| 1808 | #endif |
| 1809 | return count; |
| 1810 | } |
| 1811 | |
| 1812 | int spawntime(int type) |
| 1813 | { |
no test coverage detected