diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2009-07-14 10:15:58 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2009-07-14 10:15:58 +0000 |
| commit | 8cc169cb28f10719fb8e2defe8473cefe5027f91 (patch) | |
| tree | b96078607a4938424bdb1399e711fa3b0d3b3c03 /apps/plugins/doom | |
| parent | af99a8544f27615e3ccfea606b409290b4148274 (diff) | |
| download | rockbox-8cc169cb28f10719fb8e2defe8473cefe5027f91.zip rockbox-8cc169cb28f10719fb8e2defe8473cefe5027f91.tar.gz rockbox-8cc169cb28f10719fb8e2defe8473cefe5027f91.tar.bz2 rockbox-8cc169cb28f10719fb8e2defe8473cefe5027f91.tar.xz | |
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
Diffstat (limited to 'apps/plugins/doom')
| -rw-r--r-- | apps/plugins/doom/p_floor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/doom/p_floor.c b/apps/plugins/doom/p_floor.c index bbcf2bc..f4dbcd0 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; } |