From d108a16c91a40eb4db8f3288822e3cca4a4988c7 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Mon, 6 Oct 2025 11:58:08 -0400 Subject: [PATCH] Make the pathing in 04 the same as 03. --- 04_combat/game.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04_combat/game.go b/04_combat/game.go index 3cf5d76..3e2633c 100644 --- a/04_combat/game.go +++ b/04_combat/game.go @@ -12,8 +12,8 @@ func NewGame(width int, height int) (*Game) { game.Height = height game.Enemies = make(map[Position]*Enemy) game.Level = make(Map, height, height) - game.Player = Enemy{20, Position{1,1}, 4} game.Paths = make(Paths, height, height) + game.Player = Enemy{20, Position{1,1}, 4} return &game }