|
@@ -300,6 +300,7 @@ static void DestroyThing(Thing *thing)
|
|
}
|
|
}
|
|
|
|
|
|
if (thing->prev) {
|
|
if (thing->prev) {
|
|
|
|
+ SDL_assert(thing != things);
|
|
thing->prev->next = thing->next;
|
|
thing->prev->next = thing->next;
|
|
} else {
|
|
} else {
|
|
SDL_assert(thing == things);
|
|
SDL_assert(thing == things);
|