- fixed cherry picked commits.

This commit is contained in:
Christoph Oelckers 2019-12-22 17:20:13 +01:00
parent f4fda7e646
commit 417d425f27

View file

@ -768,7 +768,7 @@ static int32_t defsparser(scriptfile *script)
if (have_size) if (have_size)
{ {
vec2_16_t const orig_size = tileGetSize(tile); vec2_16_t const orig_size = tilesiz[tile];
if (orig_size.x != tile_size.x && orig_size.y != tile_size.y) if (orig_size.x != tile_size.x && orig_size.y != tile_size.y)
{ {
// initprintf("Size of tile %d doesn't match! Size: (%d, %d), Expected: (%d, %d)\n", tile, orig_size.x, orig_size.y, tile_size.x, tile_size.y); // initprintf("Size of tile %d doesn't match! Size: (%d, %d), Expected: (%d, %d)\n", tile, orig_size.x, orig_size.y, tile_size.x, tile_size.y);