From eadcae348211fb582f478ee2ea8a28494a18a8f9 Mon Sep 17 00:00:00 2001 From: LDDestroier Date: Sat, 9 Mar 2019 17:32:49 -0500 Subject: [PATCH] Update ccbn.lua --- ccbn.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ccbn.lua b/ccbn.lua index 7ae4924..9343a9d 100644 --- a/ccbn.lua +++ b/ccbn.lua @@ -20,7 +20,6 @@ local stage = { -- ripped from NFTE local getSize = function(image) - assert(checkValid(image), "Invalid image.") local x, y = 0, #image[1] for y = 1, #image[1] do x = math.max(x, #image[1][y]) @@ -46,11 +45,8 @@ local makeRectangle = function(width, height, char, text, back) return output end local stretchImage = function(_image, sx, sy, noRepeat) - assert(checkValid(_image), "Invalid image.") local output = {{},{},{}} local image = deepCopy(_image) - if sx < 0 then image = flipX(image) end - if sy < 0 then image = flipY(image) end sx, sy = math.abs(sx), math.abs(sy) local imageX, imageY = getSize(image) local tx, ty