summaryrefslogtreecommitdiffstats
path: root/pokemod/Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Object.cpp')
-rw-r--r--pokemod/Object.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/pokemod/Object.cpp b/pokemod/Object.cpp
index 55b1be9c..1b4ba668 100644
--- a/pokemod/Object.cpp
+++ b/pokemod/Object.cpp
@@ -58,8 +58,7 @@ QString Object::className() const
void Object::setId(const int id)
{
- m_id = id;
- emit(changed());
+ CHECK(id);
}
QString Object::unused(const QString& variable)