-/* $Id: torp.c,v 1.8 2014/07/14 08:26:31 mmondor Exp $ */
+/* $Id: torp.c,v 1.9 2014/07/14 08:35:26 mmondor Exp $ */
/*
* Copyright (c) 2006, Matthew Mondor
tr2 = t2->client->ship.ship->torp_radius;
if (square_intersect(tx, ty, tr, tx2, ty2, tr2) &&
circle_intersect(tx, ty, tr, tx2, ty2, tr2)) {
- collision_create(tr * tr2, tx, ty);
- collision_create(tr * tr2, tx2, ty2);
+ collision_create(tr * tr2 + 2, tx, ty);
+ collision_create(tr * tr2 + 2, tx2, ty2);
torp_destroyed = 1;
/*
* XXX We should destroy t2, but this could