1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-30 13:32:59 +00:00

removed the obsolete *MovR functions

This commit is contained in:
Zeno Rogue
2019-08-09 14:29:08 +02:00
parent ef89c7ed9d
commit 661743a19b
6 changed files with 19 additions and 31 deletions

View File

@@ -161,16 +161,6 @@ cell *createMov(cell *c, int d) {
return c->move(d);
}
cell *createMovR(cell *c, int d) {
d %= MODFIXER; d += MODFIXER; d %= c->type;
return createMov(c, d);
}
cell *getMovR(cell *c, int d) {
d %= MODFIXER; d += MODFIXER; d %= c->type;
return c->move(d);
}
void eumerge(cell* c1, int s1, cell *c2, int s2, bool mirror) {
if(!c2) return;
c1->move(s1) = c2; c1->c.setspin(s1, s2, mirror);