From d6f9c16ed2acd333d103a669dc1c81cbdcdfbdfd Mon Sep 17 00:00:00 2001 From: Untrustedlife Date: Wed, 27 Feb 2019 21:19:48 -0600 Subject: [PATCH] flagellum are now more likely to be on the side the microbe swims from. --- scripts/microbe_stage/procedural_microbes.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/microbe_stage/procedural_microbes.as b/scripts/microbe_stage/procedural_microbes.as index 4ab982b99e8..0b1206d4cc0 100644 --- a/scripts/microbe_stage/procedural_microbes.as +++ b/scripts/microbe_stage/procedural_microbes.as @@ -137,7 +137,7 @@ OrganelleTemplatePlaced@ getPosition(const string &in organelleName, // Moving the center one hex to the bottom. // This way organelles are "encouraged" to be on the bottom, rather than on the top, // which in turn means the flagellum are more likely to be on the back side of the cell. - auto initialOffset = Int2(HEX_NEIGHBOUR_OFFSET[formatInt(int(HEX_SIDE::BOTTOM))]); + auto initialOffset = Int2(HEX_NEIGHBOUR_OFFSET[formatInt(int(HEX_SIDE::TOP))]); q = q + initialOffset.X; r = r + initialOffset.Y;