1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-08 06:19:42 +00:00

removed the MAX_EDGE limit

This commit is contained in:
Zeno Rogue
2020-01-18 16:03:32 +01:00
parent a6da5ded75
commit 2271a67506
24 changed files with 238 additions and 190 deletions

View File

@@ -83,7 +83,7 @@ EX movedir vectodir(hyperpoint P) {
ld binv = 99;
ld dirdist[MAX_EDGE];
vector<ld> dirdist(cwt.at->type);
for(int i=0; i<cwt.at->type; i++) {
transmatrix T = currentmap->adj(cwt.at, (cwt + i).spin);
@@ -139,7 +139,7 @@ EX void calcMousedest() {
cellwalker bcwt = cwt;
ld dists[MAX_EDGE];
vector<ld> dists(cwt.at->type);
transmatrix U = ggmatrix(cwt.at);