This commit is contained in:
Stephen McQuay 2013-09-07 19:12:46 -07:00
parent f9b646e50c
commit bf853880ca
2 changed files with 12 additions and 13 deletions

View File

@ -88,7 +88,6 @@ func (g *game) run() {
robots_remaining++ robots_remaining++
p.scan(g.players) p.scan(g.players)
p.nudge() p.nudge()
// XXX: change to pointer, check for pointer as (0, 0) is valid target
if p.Robot.FireAt != nil { if p.Robot.FireAt != nil {
proj := p.fire(g.projectiles) proj := p.fire(g.projectiles)
if proj != nil { if proj != nil {