Fix targetNum check in cgame's tcmd

This commit is contained in:
Zack Middleton committed 2013-09-01 20:58:51 -05:00
1 parent daf71ca502
commit c79e0dfc25
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ void CG_TargetCommand_f( void ) {
char test[4];
targetNum = CG_CrosshairPlayer();
if (!targetNum ) {
if ( targetNum == -1 ) {
return;
}