1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-13 17:06:52 +00:00

Crystal World and Warped Coast work correctly

This commit is contained in:
Zeno Rogue 2018-08-20 17:30:36 +02:00
parent 1f356b1dff
commit 6174261535

View File

@ -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]);