summaryrefslogtreecommitdiffstats
path: root/pokemod/MapWarp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/MapWarp.cpp')
-rw-r--r--pokemod/MapWarp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/pokemod/MapWarp.cpp b/pokemod/MapWarp.cpp
index 872fe894..b261228b 100644
--- a/pokemod/MapWarp.cpp
+++ b/pokemod/MapWarp.cpp
@@ -70,7 +70,7 @@ void Pokemod::MapWarp::load(const QDomElement& xml)
{
LOAD_BEGIN();
LOAD(QString, name);
- LOAD(Point, coordinate);
+ LOAD(QPoint, coordinate);
LOAD(int, type);
LOAD(int, toMap);
LOAD(int, toWarp);
@@ -81,7 +81,7 @@ QDomElement Pokemod::MapWarp::save() const
{
SAVE_CREATE();
SAVE(QString, name);
- SAVE(Point, coordinate);
+ SAVE(QPoint, coordinate);
SAVE(int, type);
SAVE(int, toMap);
SAVE(int, toWarp);
@@ -94,7 +94,7 @@ void Pokemod::MapWarp::setName(const QString& name)
CHECK(name);
}
-void Pokemod::MapWarp::setCoordinate(const Point& coordinate)
+void Pokemod::MapWarp::setCoordinate(const QPoint& coordinate)
{
if ((static_cast<const Map*>(parent())->width() <= coordinate.x()) || (static_cast<const Map*>(parent())->height() <= coordinate.y()))
{
@@ -149,7 +149,7 @@ QString Pokemod::MapWarp::name() const
return m_name;
}
-Pokemod::Point Pokemod::MapWarp::coordinate() const
+QPoint Pokemod::MapWarp::coordinate() const
{
return m_coordinate;
}