canWalkBetween: forgot a case with stairs.

develop
expwnent 2012-12-16 23:30:35 -05:00
parent 01e5e93825
commit d2be8f18e1
1 changed files with 2 additions and 0 deletions

@ -569,6 +569,8 @@ bool Maps::canWalkBetween(df::coord pos1, df::coord pos2)
return true;
if ( shape1 == tiletype_shape::STAIR_UP && shape2 == tiletype_shape::STAIR_UPDOWN )
return true;
if ( shape1 == tiletype_shape::STAIR_UP && shape2 == tiletype_shape::STAIR_DOWN )
return true;
return false;
}