]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/state.qh
Type check macros
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / state.qh
index 64ae3e7fe62f087accb4e01d0cfd65ba428940eb..90c7029e357be1152f3fd85db8cc342d7c3b9b22 100644 (file)
@@ -24,11 +24,7 @@ CLASS(PlayerState, Object)
 ENDCLASS(PlayerState)
 
 .PlayerState _ps;
-#if NDEBUG
-       #define PS(this) (this._ps)
-#else
-       PlayerState PS(entity this) { assert(IS_CLIENT(this)); return this._ps; }
-#endif
+#define PS(this) (this._ps)
 
 // TODO: renew on death
 void PlayerState_attach(entity this);