Skip to content

Commit a9815a0

Browse files
committed
Fix: Correct vertical offset for 4x zoom houses
1 parent fc2ee2e commit a9815a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/zoom-sensitive.pnml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ template template_general(x, y, w, h, ox, oy, z) {
2222

2323
//Template for house sprite with additional offset
2424
template template_house_1x1_addoffs_master(x, y, z, h, ox, oy, flags) {
25-
[ 1*z+x*z, 1*z+y*z, 64*z, h*z+z-1, -31*z+ox*z, 32*z-h*z+oy*z-int((z-1)/2)-1, flags]
25+
[ 1*z+x*z, 1*z+y*z, 64*z, h*z+z-1, -31*z+ox*z, 32*z-h*z+oy*z-z, flags]
2626
}
2727
template template_house_1x1_addoffs(x, y, z, h, ox, oy) {
2828
template_house_1x1_addoffs_master(x, y, z, h, ox, oy, 0)

0 commit comments

Comments
 (0)