From 0ea4eec5dd2122c6704216971eb1249276297867 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 19 Jun 2026 18:20:26 -0400 Subject: shop fixes, 'toggle' completely removed, movement speed increased --- internal/game/cmd_fletch.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/game/cmd_fletch.go') diff --git a/internal/game/cmd_fletch.go b/internal/game/cmd_fletch.go index 60acb92..1f6a075 100644 --- a/internal/game/cmd_fletch.go +++ b/internal/game/cmd_fletch.go @@ -7,7 +7,6 @@ import ( "thehouseoficarus/internal/combat" "thehouseoficarus/internal/net" "thehouseoficarus/internal/player" - "thehouseoficarus/internal/world" ) var fletchLogItems = map[string]bool{ @@ -51,7 +50,7 @@ func fletchNeedsChisel(r *action.RecipeDef) bool { } func (g *Game) doFletch(sess *net.Session, input string) { - p := sess.Player.(*player.Player) + p := sess.Player if combat.GetCombat(p.Name) != nil { sess.WriteLine("You can't do that during combat!") @@ -121,7 +120,7 @@ func (g *Game) doFletchWithInput(sess *net.Session, p *player.Player, fletchReci if outDef != nil { name = outDef.Name } - if world.WordPrefixMatch(productName, name) { + if action.WordPrefixMatch(productName, name) { matched = append(matched, r) } } -- cgit v1.2.3