Added support for walls having different symbols depending on surrounding.