Fix targetNum check in cgame's tcmd

This commit is contained in:
Zack Middleton 2013-09-01 20:58:51 -05:00
parent daf71ca502
commit c79e0dfc25

View file

@ -36,7 +36,7 @@ void CG_TargetCommand_f( void ) {
char test[4]; char test[4];
targetNum = CG_CrosshairPlayer(); targetNum = CG_CrosshairPlayer();
if (!targetNum ) { if ( targetNum == -1 ) {
return; return;
} }