Fix tickrate and action queue stuff
This commit is contained in:
4
main.go
4
main.go
@ -89,13 +89,13 @@ func main() {
|
||||
rl.ClearBackground(rl.RayWhite)
|
||||
rl.BeginMode3D(camera)
|
||||
DrawMap()
|
||||
DrawPlayer(player, player.Model)
|
||||
DrawPlayer(&player, player.Model)
|
||||
|
||||
for id, other := range otherPlayers {
|
||||
if len(other.TargetPath) > 0 {
|
||||
other.MoveTowards(other.TargetPath[0], deltaTime)
|
||||
}
|
||||
DrawPlayer(*other, models[int(id)%len(models)].Model)
|
||||
DrawPlayer(other, models[int(id)%len(models)].Model)
|
||||
}
|
||||
|
||||
rl.EndMode3D()
|
||||
|
||||
Reference in New Issue
Block a user