From 3ec1c6a2274d86b5b5046d3bb71c47d590792cf9 Mon Sep 17 00:00:00 2001 From: codegirl-007 Date: Mon, 15 Jun 2026 01:23:12 -0700 Subject: [PATCH] fix small math error --- game/tower.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/tower.odin b/game/tower.odin index cd7617f..8f2ae25 100644 --- a/game/tower.odin +++ b/game/tower.odin @@ -51,7 +51,7 @@ rects_overlap :: proc( footprint_center :: proc(gx, gy, footprint_w, footprint_h: int) -> Vec2 { return Vec2 { f32(gx * TILE_SIZE + (footprint_w * TILE_SIZE) / 2), - f32(gy * TILE_SIZE + (footprint_h + TILE_SIZE) / 2), + f32(gy * TILE_SIZE + (footprint_h * TILE_SIZE) / 2), } }