mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
Fixes for culture/religion and 3d heightmap bugs (#359)
* Fix for 3d heightmap * Fix for culture/religion bug
This commit is contained in:
parent
7a06e0bdd4
commit
354eb74746
2 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue