summaryrefslogtreecommitdiffstats
path: root/pokemod/MapEffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/MapEffect.cpp')
-rw-r--r--pokemod/MapEffect.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pokemod/MapEffect.cpp b/pokemod/MapEffect.cpp
index 4f628e54..e3e1d1f5 100644
--- a/pokemod/MapEffect.cpp
+++ b/pokemod/MapEffect.cpp
@@ -19,12 +19,10 @@
#include "MapEffect.h"
// Pokemod includes
+#include "Macros.h"
#include "Map.h"
#include "Pokemod.h"
-// Qt includes
-#include <QBuffer>
-
Pokemod::MapEffect::MapEffect(const MapEffect& effect) :
Object("MapEffect", effect.parent(), effect.id())
{
@@ -55,10 +53,12 @@ Pokemod::MapEffect::MapEffect(const QDomElement& xml, const Map* parent, const i
void Pokemod::MapEffect::validate()
{
+ TEST_BEGIN();
if (m_name.isEmpty())
emit(error("Name is empty"));
TEST(setCoordinate, coordinate);
TEST(setSkin, skin);
+ TEST_END();
}
void Pokemod::MapEffect::load(const QDomElement& xml, int id)