- added branches folder

- updated to ZDoom r755.


git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@24 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
Christoph Oelckers 2008-02-20 16:51:40 +00:00
parent a5f420b0f1
commit 7004ac5705
72 changed files with 2316 additions and 1827 deletions

View file

@ -491,7 +491,8 @@ static visplane_t *new_visplane (unsigned hash)
if (check == NULL)
{
check = (visplane_t *)M_Calloc (1, sizeof(*check) + sizeof(*check->top)*(MAXWIDTH*2));
check = (visplane_t *)M_Malloc (sizeof(*check) + sizeof(*check->top)*(MAXWIDTH*2));
memset(check, 0, sizeof(*check) + sizeof(*check->top)*(MAXWIDTH*2));
check->bottom = &check->top[MAXWIDTH+2];
}
else if (NULL == (freetail = freetail->next))
@ -1637,7 +1638,7 @@ bool R_PlaneInitData ()
while (pl)
{
visplane_t *next = pl->next;
free (pl);
M_Free (pl);
pl = next;
}
freetail = NULL;
@ -1650,7 +1651,7 @@ bool R_PlaneInitData ()
while (pl)
{
visplane_t *next = pl->next;
free (pl);
M_Free (pl);
pl = next;
}
}