Remove virtres_t pointer in P_SpawnSpecials that's no longer needed

This commit is contained in:
MascaraSnake 2019-12-29 12:26:02 +01:00
parent abdfe60aa7
commit c43a83dc04
1 changed files with 0 additions and 4 deletions

View File

@ -6433,7 +6433,6 @@ void P_SpawnSpecials(boolean fromnetsave)
INT32 j;
thinkerlist_t *secthinkers;
thinker_t *th;
virtres_t* virt = NULL;
// This used to be used, and *should* be used in the future,
// but currently isn't.
(void)fromnetsave;
@ -7409,9 +7408,6 @@ void P_SpawnSpecials(boolean fromnetsave)
}
}
if (virt)
vres_Free(virt);
// Allocate each list
for (i = 0; i < numsectors; i++)
if(secthinkers[i].thinkers)