crystal:: added a conduct for doing Camelot without compasses

This commit is contained in:
Zeno Rogue committed 2019-02-06 18:48:33 +01:00
1 parent 8e4e627a37
commit 444bb762d7
4 files changed
+19 -1

No files matched your search

+4 -1
View File
@@ -668,8 +668,11 @@ bool drawItemType(eItem it, cell *c, const transmatrix& V, int icol, int pticks,
else if(it == itCompass) {
transmatrix V2;
if(geometry == gCrystal)
if(geometry == gCrystal) {
if(crystal::compass_probability <= 0) return true;
if(cwt.at->land == laCamelot && celldistAltRelative(cwt.at) < 0) crystal::used_compass_inside = true;
V2 = V * spin(crystal::compass_angle() + M_PI);
}
else {
cell *c1 = c ? findcompass(c) : NULL;
if(c1) {