From d706f9fccc9eda5515b121e9f1b0297fed6555a7 Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Wed, 19 Jun 2002 00:42:37 +0000 Subject: [PATCH] Remove the red cross. It isn't in the original and gets drawn every time any player attacks --- src/action/command.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/action/command.cpp b/src/action/command.cpp index d8650fbf5..d4c2e18d2 100644 --- a/src/action/command.cpp +++ b/src/action/command.cpp @@ -353,7 +353,6 @@ global void CommandRepair(Unit* unit,int x,int y,Unit* dest,int flush) global void CommandAttack(Unit* unit,int x,int y,Unit* attack,int flush) { Order* order; - Viewport *v = &TheUI.VP[TheUI.ActiveViewport]; IfDebug( if( x<0 || y<0 || x>=TheMap.Width || y>=TheMap.Height ) { @@ -409,13 +408,6 @@ global void CommandAttack(Unit* unit,int x,int y,Unit* attack,int flush) order->Type=NULL; order->Arg1=NULL; - /* FIXME: this draws directly over a GreenCross, - which should be removed by someone please */ - MakeLocalMissile(MissileTypeRedCross - ,v->MapX*TileSizeX+CursorX - v->X - ,v->MapY*TileSizeY+CursorY - v->Y - ,v->MapX*TileSizeX+CursorX - v->X - ,v->MapY*TileSizeY+CursorY - v->Y); } ClearSavedAction(unit); }