mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
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.
This commit is contained in:
parent
b42967d762
commit
2c15835ddf
@ -1593,8 +1593,9 @@ Errors CDecor::CelOkForAction (
|
|||||||
if (
|
if (
|
||||||
action == 2 || action == EV_ACTION_ABAT1 || action == EV_ACTION_ROC1 ||
|
action == 2 || action == EV_ACTION_ABAT1 || action == EV_ACTION_ROC1 ||
|
||||||
action == EV_ACTION_DROP || action == EV_ACTION_LABO ||
|
action == EV_ACTION_DROP || action == EV_ACTION_LABO ||
|
||||||
action == EV_ACTION_FLOWER1 || action == EV_ACTION_CULTIVE ||
|
action == EV_ACTION_FABJEEP || action == EV_ACTION_FABARMURE ||
|
||||||
action == EV_ACTION_FLAG)
|
action == EV_ACTION_FABMINE || action == EV_ACTION_FLOWER1 ||
|
||||||
|
action == EV_ACTION_CULTIVE || action == EV_ACTION_FLAG)
|
||||||
{
|
{
|
||||||
cel.x = (cel.x / 2) * 2;
|
cel.x = (cel.x / 2) * 2;
|
||||||
cel.y = (cel.y / 2) * 2;
|
cel.y = (cel.y / 2) * 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user