HomeWildfire Games

Fixes a bug in random map library placer.js function SimpleObject.place() that…

Description

Fixes a bug in random map library placer.js function SimpleObject.place() that placed entities outside of the playable map area. Add a constant MAP_BORDER_WIDTH to remove magic numbers. Also removed some unneeded brackets in the changed files. Fixes 4012

Details

Committed
FeXoRJun 28 2016, 1:37 PM
Parents
rP18449: Code cleanup of random map lib map.js.
Branches
Unknown
Tags
Unknown