X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fbattle.c;h=22cc13649df9e51cdc71546222d451b5fb99e465;hp=2977e6bbc7972e70315589f8c527cb8787b4b5a4;hb=b3d872bf30cc6b7e4a0b88f0580c2f5e35ccaf2d;hpb=4c3ff8ac78499d53339de7d67081e99582a9fb75 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));