Mobs with the pass door flag never attempt it.

Mobs who have the pass door effect on them never actually attempt to use
it because the flags were not being checked.

This resolves the report in forum topic 4633.