nczempin / Turres-Monacorum

scifi tower defense made with löve2d and lua
http://nczempin.github.io/Turres-Monacorum/
Other
52 stars 10 forks source link

a tower placed on the right edge doesn't seem to shoot #122

Closed nczempin closed 10 years ago

nczempin commented 10 years ago

possible one-off error

Supersonic112 commented 10 years ago

Uncommenting line 191 in game.lua shows that towers on the last row are not detected. I'll look into this.

Supersonic112 commented 10 years ago

Fix: modify line 37 in game.lua: o.towers.maxamount = (o.map.width+1) * o.map.height

I'm not sure if you want to add this as a hotfix, so I'll leave the committing part to you, @nczempin.

nczempin commented 10 years ago

It's okay to use a regular feature/issue/#122 branch and merge that into develop; 0.7 hasn't been released yet. You (or was it me?) seemed to mix in a spurious "origin" in there somewhere in a different issue, so you may want to get some practice with "Git Flow" .-)

nczempin commented 10 years ago

or just merge it right into develop

Supersonic112 commented 10 years ago

fixed in cbdbf087940cc26117eaf89d51e338625a4bdd24. [But I think the branch name is wrong again...]