Decorations: Fix decoration height check errors
authorparamat <mat.gregory@virginmedia.com>
Wed, 3 Aug 2016 02:44:33 +0000 (03:44 +0100)
committerparamat <mat.gregory@virginmedia.com>
Fri, 5 Aug 2016 10:48:40 +0000 (11:48 +0100)
commitb6d845adb4a0f39a58610c827817b1f881bfcebc
treef25424e4fd8960e1500aee60ebeec16bf926e175
parentea12da939fdb0a8fd13de885d104af3031ffc3ac
Decorations: Fix decoration height check errors

Fix height check comparison from '>=' to '>'.
Fix getHeight() for schematic decorations to account for
'deco place center y' flag and for how normal placement
sinks schematic 1 node into the ground.

Jungletrees were not being placed at y = 46, y = 47 despite
having an acceptable 16 nodes of height above ground surface.
src/mg_decoration.cpp