aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_move.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-28 04:05:58 -0400
committerhistoria <[not public]>2026-06-28 04:05:58 -0400
commit82c025b3f3e5cac82800ab9d7f11dcb4e3aa884b (patch)
tree98d9798e9deac2b41d951e369c9f1fcec2881a37 /internal/game/cmd_move.go
parenta1b6613c6c6a2f8d6e1ecd47e766bd40f92ac295 (diff)
downloadthehouseoficarus-82c025b3f3e5cac82800ab9d7f11dcb4e3aa884b.tar.gz
fix: removed god mode speed limit, fixed hidden objects in god mode
Diffstat (limited to 'internal/game/cmd_move.go')
-rw-r--r--internal/game/cmd_move.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/game/cmd_move.go b/internal/game/cmd_move.go
index 54c94c4..f12c494 100644
--- a/internal/game/cmd_move.go
+++ b/internal/game/cmd_move.go
@@ -106,6 +106,9 @@ var gracefulItems = map[string]bool{
}
func (g *Game) moveTicks(p *player.Player, multiplier float64) int {
+ if p.GodMode {
+ return 0
+ }
if id, ok := p.Equipment[item.SlotBack]; ok && id == "cape_of_agility" {
return 0
}