diff options
author | ubq323 <ubq323@ubq323.website> | 2022-08-06 01:25:09 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-08-06 01:25:09 +0100 |
commit | e9a46b2acf7aef3e9cdfb5ecde8f56256e402318 (patch) | |
tree | c79be099de353ac20f0960fbf69611333c5da21f | |
parent | 3837a2cdb4dcf6c9680882938da5cf7e6ec4bd36 (diff) |
img
-rw-r--r-- | img/better_disp.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/img/better_disp.lua b/img/better_disp.lua index d8bbc8d..d7b59c1 100644 --- a/img/better_disp.lua +++ b/img/better_disp.lua @@ -39,8 +39,8 @@ local function disp(R,img,scrx,scry,w,h,imgx,imgy) local sw = math.ceil(w/2) local sh = math.ceil(h/3) - for soffx=0,sw-1 do - for soffy=0,sh-1 do + for soffx=0,sw do + for soffy=0,sh do local ioffx=soffx*2 local ioffy=soffy*3 R.setCursorPos(scrx+soffx,scry+soffy) |