Also, I think it's technically wrong to be using an arithmetic OR on a bool: invisible |= w->destroyed ();
I'm not sure if that's a new C++ feature, but it shouldn't work normally.
It should probably be: bool invisible = w->invisible () || w->destroyed();
« Back to merge proposal
Also, I think it's technically wrong to be using an arithmetic OR on a bool:
invisible |= w->destroyed ();
I'm not sure if that's a new C++ feature, but it shouldn't work normally.
It should probably be:
bool invisible = w->invisible () || w->destroyed();