diff options
Diffstat (limited to 'pokemod/MapEffect.cpp')
| -rw-r--r-- | pokemod/MapEffect.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pokemod/MapEffect.cpp b/pokemod/MapEffect.cpp index 2f333f2c..1d677140 100644 --- a/pokemod/MapEffect.cpp +++ b/pokemod/MapEffect.cpp @@ -66,7 +66,7 @@ void Pokemod::MapEffect::load(const QDomElement& xml) { LOAD_BEGIN(); LOAD(QString, name); - LOAD(Point, coordinate); + LOAD(QPoint, coordinate); LOAD(QPixmap, skin); LOAD(bool, isGhost); LOAD(Script, script); @@ -76,7 +76,7 @@ QDomElement Pokemod::MapEffect::save() const { SAVE_CREATE(); SAVE(QString, name); - SAVE(Point, coordinate); + SAVE(QPoint, coordinate); SAVE(QPixmap, skin); SAVE(bool, isGhost); SAVE(Script, script); @@ -88,7 +88,7 @@ void Pokemod::MapEffect::setName(const QString& name) CHECK(name); } -void Pokemod::MapEffect::setCoordinate(const Point& coordinate) +void Pokemod::MapEffect::setCoordinate(const QPoint& coordinate) { if ((static_cast<const Map*>(parent())->width() <= coordinate.x()) || (static_cast<const Map*>(parent())->height() <= coordinate.y())) { @@ -124,7 +124,7 @@ QString Pokemod::MapEffect::name() const return m_name; } -Pokemod::Point Pokemod::MapEffect::coordinate() const +QPoint Pokemod::MapEffect::coordinate() const { return m_coordinate; } |
