They still turn around when walking into one another, but Bouncy, Jumpy and
friends no longer squish their coworkers.
Badguys that madly wish to be squished by other badguys, should check if they
were hit from above in "collision_badguy" which is now called instead.
Some exception *might* be necessary for stalactites.
SVN-Revision: 6554
BadGuy* badguy = dynamic_cast<BadGuy*> (&other);
if(badguy && badguy->is_active() && badguy->get_group() == COLGROUP_MOVING) {
+ /* Badguys don't let badguys squish other badguys. It's bad. */
+#if 0
// hit from above?
if (badguy->get_bbox().p2.y < (bbox.p1.y + 16)) {
if(collision_squished(*badguy)) {
return ABORT_MOVE;
}
}
+#endif
return collision_badguy(*badguy, hit);
}