Right clicking on walls will attack them now
This commit is contained in:
parent
47a4fc0baa
commit
20bf91cb72
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue