mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 08:23:08 +00:00
adjusted for older compilers
This commit is contained in:
1 parent
42125679a7
commit
89cfc2bce1
4 files changed
+17
-15
No files matched your search
+2
-2
@@ -348,8 +348,8 @@ transmatrix hrmap_standard::adj(cell *c, int i) {
|
||||
if(GOLDBERG && gp::do_adjm) {
|
||||
transmatrix T = master_relative(c, true);
|
||||
transmatrix U = master_relative(c->cmove(i), false);
|
||||
if(gp::gp_adj.count({c,i})) {
|
||||
return T * gp::gp_adj[{c, i}] * U;
|
||||
if(gp::gp_adj.count(make_pair(c,i))) {
|
||||
return T * gp::get_adj(c,i) * U;
|
||||
}
|
||||
else
|
||||
println(hlog, "gpadj not found");
|
||||
|
||||
Reference in new issue
Block a user