Skip to content

Commit 259c3eb

Browse files
author
s.kushnirenko
committed
mastaba: correct return access tile for mastaba parts
1 parent 53550dd commit 259c3eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/building/figure.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,10 @@ void building::update_month() {
13211321
tile2i building::access_tile() {
13221322
switch (type) {
13231323
case BUILDING_SMALL_MASTABA:
1324-
return tile.shifted(0, 10);
1324+
case BUILDING_SMALL_MASTABA_ENTRANCE:
1325+
case BUILDING_SMALL_MASTABA_WALL:
1326+
case BUILDING_SMALL_MASTABA_SIDE:
1327+
return main()->tile.shifted(0, 10);
13251328
}
13261329

13271330
return road_access;

0 commit comments

Comments
 (0)