summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-12-04 15:18:20 -0700
committerJared Adams <jaxad0127@gmail.com>2009-12-04 15:18:20 -0700
commit91af32bac65b20a446f2e49f023d3d526729e8ea (patch)
treed7ecbe69c57f391924781814002dbe4762ad1d29 /src/gui/sell.cpp
parentdfbb70d4884c4e48664f1df7bf73819a00a707b7 (diff)
downloadmana-client-91af32bac65b20a446f2e49f023d3d526729e8ea.tar.gz
mana-client-91af32bac65b20a446f2e49f023d3d526729e8ea.tar.bz2
mana-client-91af32bac65b20a446f2e49f023d3d526729e8ea.tar.xz
mana-client-91af32bac65b20a446f2e49f023d3d526729e8ea.zip
Don't process redudant visibility calls in Window
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r--src/gui/sell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp
index 1194222b..d434408b 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -286,7 +286,7 @@ void SellDialog::logic()
{
Window::logic();
- if (!current_npc && isVisible()) setVisible(false);
+ if (!current_npc) setVisible(false);
}
void SellDialog::setVisible(bool visible)