Right clicking on walls will attack them now

This commit is contained in:
jsalmon3 2002-05-30 22:01:30 +00:00
parent 47a4fc0baa
commit 20bf91cb72

View file

@ -365,11 +365,13 @@ global void DoRightButton (int sx,int sy)
&& OrcWallOnMap(x,y) ) {
DebugLevel3("HUMAN ATTACKS ORC\n");
SendCommandAttack(unit,x,y,NoUnitP,flush);
continue;
}
if( ThisPlayer->Race==PlayerRaceOrc
&& HumanWallOnMap(x,y) ) {
DebugLevel3("ORC ATTACKS HUMAN\n");
SendCommandAttack(unit,x,y,NoUnitP,flush);
continue;
}
}