mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-26 02:34:26 +00:00
fixed some memory bugs
This commit is contained in:
1 parent
497f7f6c0f
commit
ebbaa3fcc3
4 files changed
+4
-2
No files matched your search
@@ -314,7 +314,7 @@ void clearfrom(heptagon *at) {
|
||||
}
|
||||
}
|
||||
int edges = at->degree();
|
||||
if(binarytiling) edges = at->c7->type;
|
||||
if(binarytiling && DIM == 2) edges = at->c7->type;
|
||||
for(int i=0; i<edges; i++) if(at->move(i)) {
|
||||
if(at->move(i)->alt != &deletion_marker)
|
||||
q.push(at->move(i));
|
||||
|
||||
Reference in new issue
Block a user