summaryrefslogtreecommitdiff
path: root/src/shopitem.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-26 19:09:31 -0600
committerIra Rice <irarice@gmail.com>2009-03-26 19:09:31 -0600
commit1a9d402bec2fd8166ce50e30a71ba0cf2f27281a (patch)
treee012433f561406ebd67d685f205c86c1c13681b3 /src/shopitem.cpp
parent2ec46b9a6e5ca1beb043da00cf2bb9d34722ec72 (diff)
downloadMana-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.tar.gz
Mana-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.tar.bz2
Mana-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.tar.xz
Mana-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.zip
Some code style commits influenced by TMW commit
1715d0afe44a282a356ca88e47c92ec556f094dd Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/shopitem.cpp')
-rw-r--r--src/shopitem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shopitem.cpp b/src/shopitem.cpp
index 00875a2d..f1ef3dad 100644
--- a/src/shopitem.cpp
+++ b/src/shopitem.cpp
@@ -25,7 +25,8 @@
#include "utils/stringutils.h"
ShopItem::ShopItem (int inventoryIndex, int id, int quantity, int price) :
- Item (id, 0), mPrice(price)
+ Item (id, 0),
+ mPrice(price)
{
mDisplayName = getInfo().getName() + " (" + toString(mPrice) + " GP)";
setInvIndex(inventoryIndex);