summaryrefslogtreecommitdiff
path: root/src/shopitem.cpp
diff options
context:
space:
mode:
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);