1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 11:08:05 +00:00

removed function fixdir

This commit is contained in:
Zeno Rogue
2019-08-09 14:39:21 +02:00
parent b57c4c8d4e
commit f4eda1d76e
7 changed files with 14 additions and 17 deletions

View File

@@ -921,8 +921,8 @@ namespace patterns {
#endif
#if CAP_GP
else if(GOLDBERG) {
if(c == c->master->c7) si.id += (fixdir(si.dir, c) << 8);
else si.id += (get_code(gp::get_local_info(c)) << 16) | (fixdir(si.dir, c) << 8);
if(c == c->master->c7) si.id += (c->c.fix(si.dir) << 8);
else si.id += (get_code(gp::get_local_info(c)) << 16) | (c->c.fix(si.dir) << 8);
}
#endif
return si;