From 2c15835ddf59fff343478ada435ebb5f1a97c492 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Fri, 11 Aug 2017 21:31:27 +0200 Subject: [PATCH] Fix bug where the buttons were not shown with the factory The buttons are not shown when a blupi is just on south of the factory. It's an offset problem that this commit is fixing. --- src/decor.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/decor.cxx b/src/decor.cxx index 1323ffa..7f0edf9 100644 --- a/src/decor.cxx +++ b/src/decor.cxx @@ -1593,8 +1593,9 @@ Errors CDecor::CelOkForAction ( if ( action == 2 || action == EV_ACTION_ABAT1 || action == EV_ACTION_ROC1 || action == EV_ACTION_DROP || action == EV_ACTION_LABO || - action == EV_ACTION_FLOWER1 || action == EV_ACTION_CULTIVE || - action == EV_ACTION_FLAG) + action == EV_ACTION_FABJEEP || action == EV_ACTION_FABARMURE || + action == EV_ACTION_FABMINE || action == EV_ACTION_FLOWER1 || + action == EV_ACTION_CULTIVE || action == EV_ACTION_FLAG) { cel.x = (cel.x / 2) * 2; cel.y = (cel.y / 2) * 2;