XEEN: Fix walking through walls

This commit is contained in:
Paul Gilbert 2015-02-15 14:55:59 -05:00
parent 93e5fd7c20
commit bdc8e73c1b

View file

@ -923,6 +923,8 @@ bool Interface::checkMoveDirection(int key) {
int surfaceId = map.getCell(2);
if (surfaceId >= map.mazeData()._difficulties._wallNoPass) {
party._mazeDirection = dir;
sound.playFX(46);
return false;
} else {
party._mazeDirection = dir;