Fix connected nodes' selection boxes.
authorAuke Kok <sofar@foo-projects.org>
Tue, 15 Mar 2016 06:20:56 +0000 (23:20 -0700)
committerparamat <mat.gregory@virginmedia.com>
Mon, 21 Mar 2016 17:42:20 +0000 (17:42 +0000)
commit80cec4702dde598ded6a5b31e291d2973b26cc7b
tree5f6e8f3c116f63bbde0bf4f50a7015556cab0d2f
parent493a298c0c94d03cdcdb4a52684094f88cbd48c5
Fix connected nodes' selection boxes.

This allows the player to more easily target and punch connected
nodeboxes, especially if they have a fixed nodebox that is very
small, like technic cabling, or xpanes. Tried it on fences and
my xpane conversion, and happy with the result.
src/game.cpp
src/mapnode.cpp
src/mapnode.h