summaryrefslogtreecommitdiffstats
path: root/pokemod/Store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Store.cpp')
-rw-r--r--pokemod/Store.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/pokemod/Store.cpp b/pokemod/Store.cpp
index 37e1b3fa..a3f6e37a 100644
--- a/pokemod/Store.cpp
+++ b/pokemod/Store.cpp
@@ -24,19 +24,25 @@
// Header include
#include "Store.h"
+Store::Store(const Store& store) :
+ Object("Store", store.pokemod(), store.id())
+{
+ *this = store;
+}
+
Store::Store(const Pokemod* pokemod, const int id) :
Object("Store", pokemod, id),
m_name("")
{
}
-Store::Store(const Pokemod* pokemod, const Store& store, const int id) :
+Store::Store(const Store& store, const Pokemod* pokemod, const int id) :
Object("Store", pokemod, id)
{
*this = store;
}
-Store::Store(const Pokemod* pokemod, const QDomElement& xml, const int id) :
+Store::Store(const QDomElement& xml, const Pokemod* pokemod, const int id) :
Object("Store", pokemod, id)
{
load(xml, id);