X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=src%2Fbattle.c;h=22cc13649df9e51cdc71546222d451b5fb99e465;hb=b57643c72bc33f1e2b1de642280d3060c5423d10;hp=2977e6bbc7972e70315589f8c527cb8787b4b5a4;hpb=dc45b3ccf42344c238ddb146d79dc62086624848;p=super-star-trek.git diff --git a/src/battle.c b/src/battle.c index 2977e6b..22cc136 100644 --- a/src/battle.c +++ b/src/battle.c @@ -423,10 +423,8 @@ void torpedo(double course, double r, int inx, int iny, double *hit, int i, int setwnd(message_window); } if (shoved) { - coord w; - w.x = jx; w.y = jy; - game.quad[jx][jy]=iquad; game.quad[w.x][w.y]=IHDOT; + game.quad[jx][jy]=iquad; prout(_(" displaced by blast to %s "), cramlc(sector, w)); for_local_enemies(ll) game.kdist[ll] = game.kavgd[ll] = sqrt(square(game.sector.x-game.ks[ll].x)+square(game.sector.y-game.ks[ll].y));