Fix loading of the initial entry direction for railroads
This commit is contained in:
parent
2103c649f6
commit
8b60a44b09
@ -419,7 +419,7 @@ const TILE_ENCODING = {
|
||||
tile.track_switch = null;
|
||||
}
|
||||
// Initial actor facing is in the highest nybble
|
||||
tile.entered_direction = (mask >> 12) & 0x03;
|
||||
tile.entered_direction = DIRECTION_ORDER[(mask >> 12) & 0x03];
|
||||
},
|
||||
encode(tile) {
|
||||
let ret = tile.tracks & 0x3f;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user