diff --git a/src/lol/base/map.h b/src/lol/base/map.h index d82c314b..233b3574 100644 --- a/src/lol/base/map.h +++ b/src/lol/base/map.h @@ -35,6 +35,7 @@ public: if (m_array[i].m2 == key) return m_array[i].m3; /* XXX: this in an error! */ + ASSERT(0, "trying to read a non-existent key in map"); return V(); }