cleanHyperKaos() fixed (doesn't alter save state, sets head back to NULL)
This commit is contained in:
parent
1fed6282f5
commit
1fa156faf6
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,6 @@ void cleanHyperKaos(HyperKaos* self)
|
||||||
{
|
{
|
||||||
Kaos* here = self->head;
|
Kaos* here = self->head;
|
||||||
Kaos* next;
|
Kaos* next;
|
||||||
savestate *= self->kaosID;
|
|
||||||
if (self->head == NULL) return;
|
if (self->head == NULL) return;
|
||||||
|
|
||||||
else
|
else
|
||||||
|
@ -53,6 +52,7 @@ void cleanHyperKaos(HyperKaos* self)
|
||||||
next = here->next;
|
next = here->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
self->head = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void addKaos(HyperKaos* self, Kaos* target)
|
void addKaos(HyperKaos* self, Kaos* target)
|
||||||
|
|
Loading…
Reference in a new issue