mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'lemu/src/instructions/draw.rs')
-rw-r--r--lemu/src/instructions/draw.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lemu/src/instructions/draw.rs b/lemu/src/instructions/draw.rs
index bfeaf66..b090215 100644
--- a/lemu/src/instructions/draw.rs
+++ b/lemu/src/instructions/draw.rs
@@ -143,7 +143,7 @@ impl<'v> DrawInstruction<'v> for Line<'v> {
macro_rules! unbounded {
($img:ident @ $x:expr => $y:expr) => {
- $img.width() < $x || $img.height() < $y
+ $img.width() <= $x || $img.height() <= $y
};
}