Permalink
Browse files

Fix to Bank.simba to allow users to switch to the tab they want to wi…

…thdraw from instead of always switching to the main tab. (fix of mormonman's fix).

Signed-off-by: Justin Waite <jdeanwaite@gmail.com>
  • Loading branch information...
jdeanwaite committed Aug 27, 2011
1 parent e8b3f64 commit 117cf6c1926cd6095d720f5fb2948c56dc6700b1
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/bank/Bank.simba
View
@@ -743,11 +743,13 @@ begin
P1 := Point(Item.Bounds.X1, Item.Bounds.Y1);
P2 := Point(Item.Bounds.X2, Item.Bounds.Y2);
- Result := PointInBox(P1, B) and PointInBox(P2, B) and not Item.IsHidden;
+ Result := PointInBox(P1, B) and PointInBox(P2, B);
if(Result)then
Exit;
- R_ClickBankTab(1);
+ if(Item.IsHidden)then
+ R_ClickBankTab(1);
+
for I := 1 to 2 do
begin
if(P1.y < MBY1)then

0 comments on commit 117cf6c

Please sign in to comment.