From 20bf91cb723df0cbaed897300d8e8abcaf13df10 Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Thu, 30 May 2002 22:01:30 +0000 Subject: [PATCH] Right clicking on walls will attack them now --- src/ui/mouse.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/mouse.cpp b/src/ui/mouse.cpp index 801d1a5d9..c6e040ed4 100644 --- a/src/ui/mouse.cpp +++ b/src/ui/mouse.cpp @@ -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; } }