From 0b6b38705ca0d9aa6f79322119d350f165d71547 Mon Sep 17 00:00:00 2001 From: Corwin Date: Thu, 1 Dec 2022 17:17:11 +0000 Subject: [PATCH] fix that hyperspace roll is currently completely broken --- examples/hyperspace-roll/src/background.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hyperspace-roll/src/background.rs b/examples/hyperspace-roll/src/background.rs index 3c3d6931..001a8b0d 100644 --- a/examples/hyperspace-roll/src/background.rs +++ b/examples/hyperspace-roll/src/background.rs @@ -64,7 +64,7 @@ pub(crate) fn load_description( for y in 0..11 { for x in 0..8 { - let tile_id = y * 8 + x + 8 * 11 * (face_id as u16 - 10); + let tile_id = y * 8 + x + 8 * 11 * (face_id as u16 % 10); descriptions_map.set_tile( vram, (x, y).into(),