mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-19 07:51:43 +00:00
fix compiling for GCC 11+
This commit is contained in:
parent
fb299dd63e
commit
af020810bf
2 changed files with 4 additions and 2 deletions
|
@ -57,8 +57,8 @@ endif
|
|||
# This must have high to low order.
|
||||
gcc_versions:=\
|
||||
132 131\
|
||||
123 122 121\
|
||||
114 113 112 111\
|
||||
123 122 121\
|
||||
114 113 112 111\
|
||||
105 104 103 102 101\
|
||||
95 94 93 92 91\
|
||||
85 84 83 82 81\
|
||||
|
|
|
@ -3732,6 +3732,8 @@ void P_SlideMove(mobj_t *mo)
|
|||
vertex_t v1, v2; // fake vertexes
|
||||
line_t junk; // fake linedef
|
||||
|
||||
memset(&junk, 1, sizeof(junk));
|
||||
|
||||
if (tmhitthing && mo->z + mo->height > tmhitthing->z && mo->z < tmhitthing->z + tmhitthing->height)
|
||||
{
|
||||
// Don't mess with your momentum if it's a pushable object. Pushables do their own crazy things already.
|
||||
|
|
Loading…
Reference in a new issue