From 8cc169cb28f10719fb8e2defe8473cefe5027f91 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 14 Jul 2009 10:15:58 +0000 Subject: [PATCH] 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 --- apps/plugins/doom/p_floor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/doom/p_floor.c b/apps/plugins/doom/p_floor.c index bbcf2bc358..f4dbcd04f5 100644 --- a/apps/plugins/doom/p_floor.c +++ b/apps/plugins/doom/p_floor.c @@ -911,7 +911,7 @@ int EV_DoDonut(line_t* line) // killough 4/5/98: changed demo_compatibility to compatibility if (comp[comp_model]) { - if ((!s2->lines[i]->flags & ML_TWOSIDED) || + if (!(s2->lines[i]->flags & ML_TWOSIDED) || (s2->lines[i]->backsector == s1)) continue; }