I don't quite understand the problem. Do you want your wall to be passable but it's solid or do you want it to be solid but it's passable?

In the first case, note that this line in your code disabled the PASSABLE flag:
mesmurs.flags &= ~PASSABLE ;

In the latter case, try removing the IGNORE_MAPS from your c_move call.