1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

better gp tiles unification in floorshapes

This commit is contained in:
Zeno Rogue 2018-08-20 02:54:35 +02:00
parent 3906e11d92
commit e9ab4bf2dd

View File

@ -538,11 +538,11 @@ namespace gp {
int siid, sidir;
if(geosupport_threecolor() == 2) {
auto si = patterns::getpatterninfo(c, patterns::PAT_COLORING, 0);
siid = si.id>>2;
siid = (si.id>>2) ? 1 : 0;
// if(siid == 2) si.dir++;
// if(siid != pattern_threecolor(c)) printf("threecolor mismatch\n");
// if(pattern_threecolor(createMov(c, fixdir(si.dir, c))) != (siid+1)%3) printf("threecolor mismatch direction\n");
sidir = fixdir(si.dir, c);
sidir = (fixdir(si.dir, c)) & 1;
}
else if(geosupport_graveyard() == 2) {
siid = !pseudohept(c);