fixup [terrain_mask]

(cherry-picked from commit 7d44782e5c)
This commit is contained in:
gfgtdf 2018-08-13 17:01:15 +02:00
parent 42af4c3378
commit 3c86e3bc8f

View file

@ -981,7 +981,7 @@ function wml_actions.terrain_mask(cfg)
is_odd = true
elseif alignment == "raw" then
--todo: maybe rename this value?
is_odd = (number % 2 != 0)
is_odd = (x % 2 ~= 0)
elseif border == false then
is_odd = true
else