]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/sortlist.qh
Merge branch 'master' into martin-t/rpc-acc
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / sortlist.qh
index eb8103f8fd51e8c8d7b185f3cd9a87fec4ce2b1b..8c362d4305cd98721075bfe84aa8a7a1ab0c4910 100644 (file)
@@ -1,9 +1,8 @@
-#ifndef SORTLIST_H
-#define SORTLIST_H
+#pragma once
 
 entityclass(Sort);
 // .float(entity,entity) sort_cmp;
-class(Sort).entity chain, sort_next, sort_prev;
+classfield(Sort).entity chain, sort_next, sort_prev;
 
 entity Sort_Spawn();
 
@@ -19,5 +18,3 @@ entity Sort_Spawn();
        if (a.sort_prev) a.sort_prev.sort_next = b;          \
        a.sort_prev = b;                                    \
        b.sort_next = a
-
-#endif