From 0caaa141981ef6fdeeac80771507cb8304fd494c Mon Sep 17 00:00:00 2001 From: sneak Date: Tue, 7 Jul 2026 02:35:18 +0200 Subject: [PATCH] Drop unused named return on moveMonster (nonamedreturns) --- game/chase.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game/chase.go b/game/chase.go index 0ab92bb..51bae32 100644 --- a/game/chase.go +++ b/game/chase.go @@ -38,9 +38,9 @@ func (g *RogueGame) runners(int) { } // moveMonster executes a single turn of running for a monster (chase.c -// move_monst). removed reports that the monster died or left the level -// (the C -1 return). -func (g *RogueGame) moveMonster(tp *Monster) (removed bool) { +// move_monst). The result reports that the monster died or left the +// level (the C -1 return). +func (g *RogueGame) moveMonster(tp *Monster) bool { if !tp.On(Slowed) || tp.Turn { if g.chaseStep(tp) { return true