mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-17 13:14:30 +00:00
fixed a compiler warning
This commit is contained in:
1 parent
20f1dc5d4d
commit
996c6cf5f7
1 file changed
+2
-2
+2
-2
@@ -49,9 +49,9 @@ void delete_heptagon(heptagon *h2) {
|
||||
|
||||
void recursive_delete(heptagon *h, int i) {
|
||||
heptagon *h2 = h->move[i];
|
||||
for(int i=1; i<S7; i++)
|
||||
{ for(int i=1; i<S7; i++)
|
||||
if(h2->move[i] && h2->move[i]->move[0] == h2)
|
||||
recursive_delete(h2, i);
|
||||
recursive_delete(h2, i); }
|
||||
if(h2->alt && h2->alt->alt == h2->alt) {
|
||||
DEBSM(printf("destroying alternate map %p\n", h2->alt);)
|
||||
for(hrmap *& hm: allmaps) {
|
||||
|
||||
Reference in new issue
Block a user