| 949 | } |
| 950 | |
| 951 | void drawhudgun() |
| 952 | { |
| 953 | sethudgunperspective(true); |
| 954 | |
| 955 | if(hudgun && (specthudgun || !player1->isspectating()) && camera1->type==ENT_PLAYER) |
| 956 | { |
| 957 | playerent *p = (playerent *)camera1; |
| 958 | if(p->state==CS_ALIVE) p->weaponsel->renderhudmodel(); |
| 959 | } |
| 960 | rendermenumdl(); |
| 961 | |
| 962 | sethudgunperspective(false); |
| 963 | } |
| 964 | |
| 965 | bool outsidemap(physent *pl) |
| 966 | { |
no test coverage detected