summaryrefslogtreecommitdiffstats
path: root/pokemod/Weather.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Weather.cpp')
-rw-r--r--pokemod/Weather.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/pokemod/Weather.cpp b/pokemod/Weather.cpp
index 49cd119a..fa080445 100644
--- a/pokemod/Weather.cpp
+++ b/pokemod/Weather.cpp
@@ -19,6 +19,7 @@
#include "Weather.h"
// Pokemod includes
+#include "Macros.h"
#include "Pokemod.h"
#include "Script.h"
@@ -53,8 +54,10 @@ Pokemod::Weather::~Weather()
void Pokemod::Weather::validate()
{
+ TEST_BEGIN();
if (m_name.isEmpty())
emit(error("Name is empty"));
+ TEST_END();
}
void Pokemod::Weather::load(const QDomElement& xml, int id)