Remove write-only Highest_ever_object_index
This commit is contained in:
parent
5a94f8bf4f
commit
1cd77754ee
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue