]> git.itanic.dy.fi Git - sdl-planets/commit
quadtree: validator: Catch missing leaf node
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Tue, 7 Dec 2010 20:07:55 +0000 (22:07 +0200)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Tue, 7 Dec 2010 20:07:55 +0000 (22:07 +0200)
commit37b38f60d066777ac07750924c0885e0e6623970
tree97c16aaa0e52fbb33ddee0c32cbece12619153e1
parentf325cc73cdefd980ac221dc39a46e67ff5292e89
quadtree: validator: Catch missing leaf node

This patch will make the validator to catch error when a leaf node has
a pointer to a parent which does not have pointer back to the leaf
node.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
quadtree.c