]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/oo.qh
s/make_pure/new_pure/
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / oo.qh
index efcb7876a6d448e070828c719ec8d452b224a0ce..8d50d2b929db771755e413826a5bee44b428c758 100644 (file)
@@ -12,7 +12,7 @@
 
 .vector origin;
 .bool pure_data;
-/** deprecated, use new_pure or NEW(class) */
+/** @deprecated, use new_pure or NEW(class) */
 #define make_pure(e) \
        MACRO_BEGIN \
        { \
@@ -34,6 +34,7 @@ entity _spawn();
 #define SPAWN_PURE 0
 #endif
 
+// pure entities: need no .origin
 #if SPAWN_PURE
 entity spawn_pure() = #600;
 #else
@@ -80,7 +81,6 @@ entity _clearentity_ent;
 STATIC_INIT(clearentity)
 {
        _clearentity_ent = new_pure(clearentity);
-       make_pure(_clearentity_ent);
 }
 void clearentity(entity e)
 {