diff options
author | M. Kristall <mkpdev@gmail.com> | 2007-11-02 21:14:29 +0000 |
---|---|---|
committer | M. Kristall <mkpdev@gmail.com> | 2007-11-02 21:14:29 +0000 |
commit | 5c3429cb21861e253d9a80fa07f6487013c99109 (patch) | |
tree | 3a72f0b392c8915397514285dcb52948967ec179 /src/game/g_cmds.c | |
parent | 3289f089c3b6f6196fe9508e7d3d48b32a42d10d (diff) |
* rename the remaining variables i missed in r1029
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index e438bfb8..4a9f1cd7 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -100,7 +100,7 @@ int G_ClientNumberFromString( gentity_t *to, char *s ) if( cl->pers.connected == CON_DISCONNECTED ) return -1; - return idnum; + return i; } // check for a name match @@ -114,7 +114,7 @@ int G_ClientNumberFromString( gentity_t *to, char *s ) G_SanitiseName( cl->pers.netname, n2 ); if( !strcmp( n2, s2 ) ) - return idnum; + return i; } return -1; |