mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-06-09 23:29:40 +00:00
fixed robot :pos-x and :pos-y generation, so they're floats
This commit is contained in:
parent
3ba9aee7c6
commit
af36cdebb6
|
@ -14,8 +14,8 @@
|
|||
(robot/init-robot
|
||||
idx
|
||||
program
|
||||
{ :pos-x (rand-int width)
|
||||
:pos-y (rand-int height)
|
||||
{:pos-x (rand width)
|
||||
:pos-y (rand height)
|
||||
:aim 0.0
|
||||
:damage 0.0}))
|
||||
programs))
|
||||
|
|
Loading…
Reference in New Issue
Block a user