From 6174261535ad6ea8e4266b07915d92e1c0e33615 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 20 Aug 2018 17:30:36 +0200 Subject: [PATCH] Crystal World and Warped Coast work correctly --- graph.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index 82c99de2..440dee00 100644 --- a/graph.cpp +++ b/graph.cpp @@ -3125,10 +3125,14 @@ void floorShadow(cell *c, const transmatrix& V, int col) { void set_maywarp_floor(cell *c) { bool warp = isWarped(c); if(warp && !shmup::on && geosupport_football() == 2) { + if(!stdhyperbolic) { + set_floor(shTriheptaFloor); + return; + } auto si = patterns::getpatterninfo(c, 0, 0); if(si.id == 0 || si.id == 1) set_floor(shTriheptaFloor); - else if(si.id >= 14 || !stdhyperbolic) + else if(si.id >= 14) set_floor(shFloor); else set_floor(applyPatterndir(c, si), shTriheptaSpecial[si.id]);