]> git.itanic.dy.fi Git - sdl-planets/commit
planet.c: Always remove the smallest planet
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Wed, 17 Nov 2010 16:45:55 +0000 (18:45 +0200)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Wed, 17 Nov 2010 17:26:40 +0000 (19:26 +0200)
commitb936e3699bbccdbe9a633774429c24fabef664f2
tree43a8ddcd4b1591b75210f6dd51daeaff73dfe26c
parent50e71c9aa9bdd365edc822ad98f699bed46ff329
planet.c: Always remove the smallest planet

As we are not allowed to just move nodes in the quadtree (that might
lead crossing of branch boundaries), we will try to only remove the
smaller planet and add everything else to the larger planet.
planet.c