diff options
author | kdx <kikoodx@paranoici.org> | 2024-05-04 15:31:16 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2024-05-04 15:31:16 +0200 |
commit | 3c30311d63d88fb7f0e26b153abf2bba3ab4947e (patch) | |
tree | 937fd8289dcfe6e2308ae34951b6c319fec3e738 | |
parent | 8828904a6721689753a889ecd8f6a7e20b337e97 (diff) | |
download | tiled2c-main.tar.gz |
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -62,11 +62,11 @@ static int process_imagelayer(cJSON *json) { if (process_layer(json)) return -1; JSON_GET_STRING(json, image); - JSON_GET(json, x); - JSON_GET(json, y) + JSON_GET(json, offsetx); + JSON_GET(json, offsety) - printf(".imagelayer={\"%s\",%d,%d}},", image->valuestring, x->valueint, - y->valueint); + printf(".imagelayer={\"%s\",%d,%d}},", image->valuestring, offsetx->valueint, + offsety->valueint); return 0; } |