summaryrefslogtreecommitdiff
path: root/src/gui/buysell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buysell.cpp')
-rw-r--r--src/gui/buysell.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index df222797..04a27b8c 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -1,9 +1,8 @@
/*
- * Aethyra
+ * The Mana World
* Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of Aethyra based on original code
- * from The Mana World.
+ * This file is part of The Mana World.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -50,9 +49,10 @@ BuySellDialog::BuySellDialog(Network *network):
}
buyButton->requestFocus();
- setDefaultSize(x + getPadding(), (2 * y + buyButton->getHeight() +
- getTitleBarHeight()), ImageRect::CENTER);
+ setContentSize(x, 2 * y + buyButton->getHeight());
+ center();
+ setDefaultSize();
loadWindowState();
}
@@ -77,7 +77,7 @@ void BuySellDialog::action(const gcn::ActionEvent &event)
setVisible(false);
int action = 0;
- NPC::mTalking = false;
+ NPC::isTalking = false;
if (event.getId() == "Buy")
{