summaryrefslogtreecommitdiffstats
path: root/sigscript/TrainerWrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/TrainerWrapper.h')
-rw-r--r--sigscript/TrainerWrapper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sigscript/TrainerWrapper.h b/sigscript/TrainerWrapper.h
index f87eb1b0..85af25ac 100644
--- a/sigscript/TrainerWrapper.h
+++ b/sigscript/TrainerWrapper.h
@@ -34,7 +34,7 @@ class SIGSCRIPT_EXPORT TrainerWrapper : public ObjectWrapper
Q_OBJECT
public:
- static TrainerWrapper* create(const Sigmod::Trainer* trainer, SigmodWrapper* parent);
+ static TrainerWrapper* create(const Sigmod::Trainer* trainer, GameWrapper* parent);
Q_SCRIPTABLE Sigmod::Trainer::Intelligence intelligence(const QString& name) const;
@@ -48,7 +48,7 @@ class SIGSCRIPT_EXPORT TrainerWrapper : public ObjectWrapper
Q_SCRIPTABLE Sigmod::Trainer::Intelligence abilityIntel() const;
Q_SCRIPTABLE Sigmod::Trainer::Intelligence statIntel() const;
private:
- TrainerWrapper(const Sigmod::Trainer* trainer, SigmodWrapper* parent);
+ TrainerWrapper(const Sigmod::Trainer* trainer, GameWrapper* parent);
TrainerWrapper& operator=(const TrainerWrapper& rhs);
const Sigmod::Trainer* m_trainer;