Skip to content

Commit 7506208

Browse files
committed
Fix: Rail station template lead to incorrectly positioned glass
The darkening glass was mispositioned due to autocropping of the parent sprite
1 parent d85aa7a commit 7506208

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/zoom-sensitive.pnml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -424,10 +424,10 @@ template template_rail_station(x, y, z) {
424424
template_house_1x1_addoffs(130, 65, z, 64, 0, 0)
425425
template_house_1x1_addoffs(130, 130, z, 64, 0, 0)
426426
template_house_1x1_addoffs(130, 195, z, 64, -22, -11)
427-
template_house_1x1_addoffs(195, 65, z, 64, 0, 16)
428-
template_house_1x1_addoffs(195, 130, z, 64, 0, 16)
429-
template_house_1x1_addoffs(195, 195, z, 64, 0, 16)
430-
template_house_1x1_addoffs(195, 0, z, 64, 0, 16)
427+
template_house_1x1_addoffs_nocrop(195, 65, z, 64, 0, 16)
428+
template_house_1x1_addoffs_nocrop(195, 130, z, 64, 0, 16)
429+
template_house_1x1_addoffs_nocrop(195, 195, z, 64, 0, 16)
430+
template_house_1x1_addoffs_nocrop(195, 0, z, 64, 0, 16)
431431
[ 261*z+x*z, 66*z+y*z, 64*z, 64*z-1, 0, 0, NOCROP]
432432
[ 261*z+x*z, 131*z+y*z, 64*z, 64*z-1, 0, 0, NOCROP]
433433
[ 261*z+x*z, 196*z+y*z, 64*z, 64*z-1, 0, 0, NOCROP]

0 commit comments

Comments
 (0)