summary refs log tree commit diff
path: root/utl
diff options
context:
space:
mode:
authorzlago2024-09-30 10:52:14 +0200
committerzlago2024-09-30 10:52:14 +0200
commit45512bbc85188e3adb4eda597d0d2fa5530de651 (patch)
tree3d159b6baad17c828e42f4594353599b879cb2c8 /utl
parent5ead22e91fe1165f3a9208c0d1c965b3edd104be (diff)
player animations
Diffstat (limited to 'utl')
-rw-r--r--utl/json2map/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utl/json2map/main.c b/utl/json2map/main.c
index b298626..684e0ed 100644
--- a/utl/json2map/main.c
+++ b/utl/json2map/main.c
@@ -72,7 +72,7 @@ struct tilemap_T make_tilemap(cJSON const *const layer, int const wangStart, int
 				int d = (in.tilemap[x + (y + 1) * in.width] - wangStart) >> 4;
 				int e = (in.tilemap[(x + 1) + (y + 1) * in.width] - wangStart) >> 4;
 				int f = b == c && b == d && b == e;
-				if (f) {
+				if (f && ((a - wangStart) & 0x8)) {
 					out.tilemap[x + y * out.width] = b + 0xf0;
 				} else {
 					out.tilemap[x + y * out.width] = 0;