From a600cc55468a6513743ce916aa3da129270c23f0 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sun, 22 Dec 2024 20:04:33 +0100 Subject: more WIP zapper --- game/background/HallwaySubScene.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'game/background') diff --git a/game/background/HallwaySubScene.cpp b/game/background/HallwaySubScene.cpp index 4d96c94..9a6654a 100644 --- a/game/background/HallwaySubScene.cpp +++ b/game/background/HallwaySubScene.cpp @@ -153,11 +153,6 @@ void HallwaySubScene::add_sector_number( Animator & sector_num_anim = obj.add_component( sector_num_sprite, ivec2(256, 128), uvec2(4, 4), Animator::Data {} ); - int column = (sector_num - 1) / 4; - int row = (sector_num - 1) % 4; - sector_num_anim.set_anim(column); - for (int i = 0; i < row; i++) { - sector_num_anim.next_anim(); - } + sector_num_anim.data.frame++; sector_num_anim.pause(); } -- cgit v1.2.3