Partially fix rendering of crossed wires
This commit is contained in:
parent
f0e702e397
commit
1021f30fb8
@ -1158,8 +1158,14 @@ export class Tileset {
|
||||
this._draw_fourway_tile_power(tile, tile.wire_directions, blit);
|
||||
|
||||
// Then draw the wired tile on top of it all
|
||||
if (tile.wire_directions === 0x0f && drawspec.wired_cross) {
|
||||
// FIXME oopsydaisy, order matters for the cross part
|
||||
coords = drawspec.wired_cross;
|
||||
}
|
||||
else {
|
||||
coords = drawspec.wired;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// There's no wiring here, so just draw the base and then draw the wired part on top
|
||||
// as normal. If the wired part is optional (as is the case for flooring in the CC2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user