Schematic decorations: Fix placement bug when centred and rotated (#7365)
authorParamat <paramat@users.noreply.github.com>
Thu, 24 May 2018 01:52:35 +0000 (02:52 +0100)
committerGitHub <noreply@github.com>
Thu, 24 May 2018 01:52:35 +0000 (02:52 +0100)
commitd6a6d3176e8ea9be4224c9f1f059654e3d36ea37
tree2f3ff9d5f5af7ae6bcb108c4098c0072b1167bbf
parent53d5b3ea40ce1c18540a378c5f71f4e1e60dbec8
Schematic decorations: Fix placement bug when centred and rotated (#7365)

Previously, the centering caused by the 'place center x/z' flags did
not take rotation into account. So schematics with unequal X and Z
dimensions were incorrectly placed. The bug was hidden for schematics
equal in X and Z dimensions.
src/mapgen/mg_decoration.cpp