add PrBoom+ comment to previous fix

This commit is contained in:
Fabian Greffrath 2023-02-07 08:23:47 +01:00
parent c8a479a1aa
commit e1d0b663e5

View File

@ -926,6 +926,9 @@ int EV_DoDonut(line_t* line)
//jff 3/29/98 use true two-sidedness, not the flag
if (comp[comp_model])
{
// original code: !s2->lines[i]->flags & ML_TWOSIDED
// equivalent to: (!s2->lines[i]->flags) & ML_TWOSIDED , i.e. 0
// should be: !(s2->lines[i]->flags & ML_TWOSIDED)
if (((!s2->lines[i]->flags) & ML_TWOSIDED) ||
(s2->lines[i]->backsector == s1))
continue;