Update src/p_map.c

it seems line_t have pointers, clear all of it
This commit is contained in:
Alam Ed Arias 2023-10-13 22:50:19 -04:00
parent 98fd34e76c
commit 8533955da8

View file

@ -3732,7 +3732,7 @@ void P_SlideMove(mobj_t *mo)
vertex_t v1, v2; // fake vertexes
static line_t junk; // fake linedef
memset(&junk, 1, sizeof(junk));
memset(&junk, 0x00, sizeof(junk));
if (tmhitthing && mo->z + mo->height > tmhitthing->z && mo->z < tmhitthing->z + tmhitthing->height)
{