1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-17 18:49:43 +00:00

removed functions fix6 and fix7

This commit is contained in:
Zeno Rogue
2019-08-09 14:12:33 +02:00
parent 0e57fd1cc0
commit ef89c7ed9d
8 changed files with 10 additions and 15 deletions

View File

@@ -876,7 +876,7 @@ namespace patterns {
}
}
if(GOLDBERG && has_nice_dual() && !ishept(c) && ishex1(c)) si.dir = fix6(si.dir+3);
if(GOLDBERG && has_nice_dual() && !ishept(c) && ishex1(c)) si.dir = gmod(si.dir+3, S6);
}
ePattern whichPattern = PAT_NONE;
@@ -1194,9 +1194,9 @@ int pattern_threecolor(cell *c) {
if(rel == 0)
return pattern_threecolor(c->master->c7);
else if(rel == par)
return pattern_threecolor(createStep(c->master, li.last_dir)->c7);
return pattern_threecolor(c->master->cmove(li.last_dir)->c7);
else
return pattern_threecolor(createStep(c->master, fix7(li.last_dir+1))->c7);
return pattern_threecolor(c->master->cmodmove(li.last_dir+1)->c7);
}
#endif
if(a38) {