some changes to highrise level

boost bug fix
MACHO bug fix
This commit is contained in:
landgreen
2021-06-02 05:41:15 -07:00
parent 05420af818
commit e83b84f1fb
7 changed files with 111 additions and 121 deletions

View File

@@ -511,7 +511,7 @@ const simulation = {
}
m.look = m.lookDefault
simulation.isHorizontalFlipped = Math.random() < 0.5 ? true : false //if true, some maps are flipped horizontally
simulation.isHorizontalFlipped = (Math.random() < 0.5) ? true : false //if true, some maps are flipped horizontally
level.levels = level.playableLevels.slice(0) //copy array, not by just by assignment
if (simulation.isCommunityMaps) {
level.levels.push("stronghold");
@@ -1183,6 +1183,7 @@ const simulation = {
},
enableConstructMode() {
simulation.isConstructionMode = true;
simulation.isHorizontalFlipped = false;
simulation.isAutoZoom = false;
simulation.zoomScale = 2600;
simulation.setZoom();