From 657068df1a8e72f0d446634862de1e209a3f23a8 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 19 Jul 2020 16:24:35 +0100 Subject: [PATCH] remove these assertions as they're not necessary --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 2f57150..c0ce224 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,8 +37,6 @@ pub fn add_tiles(game_data: String, image: String, prefix: String) -> String { let width = image.width(); let height = image.height(); - assert_eq!(width % 8, 0); - assert_eq!(height % 8, 0); let columns = (width as f64 / 8.).floor() as u32; let rows = (height as f64 / 8.).floor() as u32;