Fixes for culture/religion and 3d heightmap bugs (#359)

* Fix for 3d heightmap

* Fix for culture/religion bug
This commit is contained in:
evolvedexperiment 2019-11-10 17:20:52 +02:00 committed by Azgaar
parent 7a06e0bdd4
commit 354eb74746
2 changed files with 2 additions and 3 deletions

View file

@ -62,7 +62,7 @@
// add folk religions
pack.cultures.forEach(c => {
if (!c.i) {religions.push({i: 0, name: "No religion"}); return;}
if (c.removed) return;
if (c.removed) {religions.push({i: c.i, name: "Extinct religion for "+c.name, color:getMixedColor(c.color, .1, 0), removed:true}); return;}
const form = rw(forms.Folk);
const name = c.name + " " + rw(types[form]);
const deity = form === "Animism" ? null : getDeityName(c.i);

View file

@ -1211,7 +1211,6 @@ function editHeightmap() {
+canvas.dataset.hovered > 2 ? tip("") : tip("Left mouse to change angle, middle mouse or mousewheel to zoom, right mouse to pan. R to toggle rotation");
canvas.dataset.hovered = (+canvas.dataset.hovered|0) + 1;
};
show3dOptions();
$("#preview3d").dialog({
title: "3D Preview", resizable: true,