Propagate for variables in similar/editor/eobject.cpp

This commit is contained in:
Kp 2014-09-26 02:42:11 +00:00
parent 655ed9ef60
commit e4c699083d

View file

@ -271,9 +271,9 @@ int place_object(segment *segp, vms_vector *object_pos, short object_type, short
// Count number of player objects, return value.
static int compute_num_players(void)
{
int i, count = 0;
int count = 0;
for (i=0; i<=Highest_object_index; i++)
for (int i=0; i<=Highest_object_index; i++)
if (Objects[i].type == OBJ_PLAYER)
count++;