Remove write-only Highest_ever_object_index

This commit is contained in:
Kp 2016-01-09 16:38:12 +00:00
parent 5a94f8bf4f
commit 1cd77754ee

View file

@ -108,7 +108,6 @@ static array<objnum_t, MAX_OBJECTS> free_obj_list;
//info on the various types of objects
int num_objects=0;
static int Highest_ever_object_index;
}
namespace dsx {
@ -942,8 +941,6 @@ objptridx_t obj_allocate()
if (objnum > Highest_object_index) {
Highest_object_index = objnum;
if (Highest_object_index > Highest_ever_object_index)
Highest_ever_object_index = Highest_object_index;
}
return objptridx(objnum);
}