Don't start game entity loops at index 1
This commit is contained in:
1 parent
71512bb1fd
commit
5b9302a7ef
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -275,7 +275,7 @@ void G_FindTeams( void ) {
|
||||
|
||||
c = 0;
|
||||
c2 = 0;
|
||||
for ( i=1, e=g_entities+i ; i < level.num_entities ; i++,e++ ){
|
||||
for ( i=MAX_CLIENTS, e=g_entities+i ; i < level.num_entities ; i++,e++ ) {
|
||||
if (!e->inuse)
|
||||
continue;
|
||||
if (!e->team)
|
||||
|
||||
Reference in new issue
Block a user