Skip to content

Commit

Permalink
Just spawn dudes in tower
Browse files Browse the repository at this point in the history
  • Loading branch information
kettek committed Jun 29, 2024
1 parent 481a4c3 commit 31d237f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/game/tower.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ func (t *Tower) AddDude(d *Dude) {
}
story := t.Stories[0]
story.AddDude(d)
d.activity = FirstEntering
d.activity = Centering
//d.stack.HeightOffset = 20
enter := TowerEntrance - d.variation
if enter < TowerEntrance+0.1 {
enter = TowerEntrance
enter := RoomPath - d.variation
if enter < RoomPath+0.1 {
enter = RoomPath
}
d.SetPosition(story.PositionFromCenter(math.Pi/2, enter))
d.SetPosition(story.PositionFromCenter(math.Pi/2-math.Pi/12, enter))
t.dudes = append(t.dudes, d)
}

Expand Down

0 comments on commit 31d237f

Please sign in to comment.