fixed occasional segfault in changeWall
Merge pull request #3 from doctorbatmangod/master

fixed occasional segfault in changeWall