From c009aa3a22b0a2d5790898ac05c92d429c82f94a Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 23 Jul 2012 20:41:40 +0300 Subject: Fix building on top of (pointable && buildable_to) nodes --- src/game.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/game.cpp b/src/game.cpp index 19c4707de..7d93e3db2 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -2304,6 +2304,13 @@ void the_game( <get(n_under).buildable_to) + p = nodepos; + }catch(InvalidPositionException &e){} + // Find id of predicted node content_t id; bool found = nodedef->getId(def.node_placement_prediction, id); -- cgit v1.2.3