Fix targetNum check in cgame's tcmd
This commit is contained in:
1 parent
daf71ca502
commit
c79e0dfc25
1 file changed
+1
-1
@@ -36,7 +36,7 @@ void CG_TargetCommand_f( void ) {
|
||||
char test[4];
|
||||
|
||||
targetNum = CG_CrosshairPlayer();
|
||||
if (!targetNum ) {
|
||||
if ( targetNum == -1 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user