mirror of
https://github.com/UberGames/ioef.git
synced 2025-01-19 07:30:51 +00:00
Fix targetNum check in cgame's tcmd
This commit is contained in:
parent
daf71ca502
commit
c79e0dfc25
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ void CG_TargetCommand_f( void ) {
|
|||
char test[4];
|
||||
|
||||
targetNum = CG_CrosshairPlayer();
|
||||
if (!targetNum ) {
|
||||
if ( targetNum == -1 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue