]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/oo.qh
Fix PlayerState ownership
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / oo.qh
index b2b1419abe5efa6cb77fdaed91f6e0bc0e8f06f9..e1e3193308c4a0fe021301445e827dedd97a4ec8 100644 (file)
@@ -175,6 +175,7 @@ STATIC_INIT(RegisterClasses)
        entityclass(cname, base);               \
        class(cname).bool instanceOf##cname;    \
     bool is_##cname(entity e) { return e.instanceOf##cname; } \
+    void isnt_##cname(entity e) { eprint(e); } \
        VTBL(cname, base)                       \
        _INIT_STATIC(cname)                     \
        {                                       \