Remove the red cross. It isn't in the original and gets drawn every time any player attacks

This commit is contained in:
jsalmon3 2002-06-19 00:42:37 +00:00
parent 4fa70dbb9d
commit d706f9fccc

View file

@ -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);
}