From c3801f14778b05e23ff8e8c659cd03ecb8ec0b29 Mon Sep 17 00:00:00 2001 From: otya128 Date: Sat, 22 Jul 2017 13:17:09 +0900 Subject: [PATCH] Fix BGFILL --- SMILEBASIC/bg.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SMILEBASIC/bg.d b/SMILEBASIC/bg.d index d76da6f..756816a 100644 --- a/SMILEBASIC/bg.d +++ b/SMILEBASIC/bg.d @@ -213,7 +213,7 @@ class BG if(x > x2) swap(x, x2); if(y > y2) swap(y, y2); for(; y <= y2; y++) - chip[x + y * width .. x2 + y * width] = BGChip(id); + chip[x + y * width .. x2 + y * width + 1] = BGChip(id); /*for(int i = x; i <= x2; i++) { chip[i + y * width].i = id;