1
0
Fork 0
forked from len0rd/rockbox

Silence the gcc 4.4.0 warning by making this code look like it was probably meant to be. I'm not 100% sure this is correct - latest prboom doesn't have that fix.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21857 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2009-07-14 10:15:58 +00:00
parent af99a8544f
commit 8cc169cb28

View file

@ -911,7 +911,7 @@ int EV_DoDonut(line_t* line)
// killough 4/5/98: changed demo_compatibility to compatibility // killough 4/5/98: changed demo_compatibility to compatibility
if (comp[comp_model]) if (comp[comp_model])
{ {
if ((!s2->lines[i]->flags & ML_TWOSIDED) || if (!(s2->lines[i]->flags & ML_TWOSIDED) ||
(s2->lines[i]->backsector == s1)) (s2->lines[i]->backsector == s1))
continue; continue;
} }