Merge branch 'myfixes' into 'next'

Fix visplanes getting allocated twice (backport from srb2kart)

See merge request STJr/SRB2!1636
This commit is contained in:
sphere 2021-12-02 11:25:18 +00:00
commit dad13f2dde

View file

@ -318,7 +318,7 @@ static visplane_t *new_visplane(unsigned hash)
visplane_t *check = freetail;
if (!check)
{
check = calloc(2, sizeof (*check));
check = malloc(sizeof (*check));
if (check == NULL) I_Error("%s: Out of memory", "new_visplane"); // FIXME: ugly
}
else