]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/oo/base.qh
Merge CLASS and EXTENDS, #define NEW(cname) (spawn##cname())
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / oo / base.qh
index 55af8adb84cfa4ddbba23e7eb60f4089be48a557..30423850e807a4bdd64909ecf2bc50ecb28bc7eb 100644 (file)
@@ -28,4 +28,7 @@ entity spawnObject()
                Object_vtbl = spawnVtbl(e, null_entity);
        return e;
 }
+
+#define NEW(cname) (spawn##cname())
+
 #endif