Fix SimpleObject assuming positions on the impassable map border to be passable while...
commit7919d01723a27c400b14affb10ed3820c7938433
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Mon, 19 Feb 2018 23:59:06 +0000 (19 23:59 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Mon, 19 Feb 2018 23:59:06 +0000 (19 23:59 +0000)
tree20834ffb40ce06e092f75f9a1508ea577da1be36
parent1b109ed607717879dbe44c551f4552f5515f59a6
Fix SimpleObject assuming positions on the impassable map border to be passable while the SimpleGroup using that Object rejecting that position following rP21069.

Fixes #5041 nomad units on the map border not being placed.
Make SimpleObject detect if it's an actor and place accordingly.
Rename maxFailCount to maxRetries, since its function differs intrinsically from the failFraction of Placers.

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@21278 3db68df2-c116-0410-a063-a993310a9797
binaries/data/mods/public/maps/random/rmgen/group.js
binaries/data/mods/public/maps/random/rmgen/library.js
binaries/data/mods/public/maps/random/rmgen/object.js