]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/sortlist.qh
Make most server includes order insensitive
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / sortlist.qh
index 17512342e395d1ee12a6ba2a0a37f1c1d1fdfb5b..48478782132b3a32ca92195a1ec79d0850f0e972 100644 (file)
@@ -1,8 +1,9 @@
 #ifndef SORTLIST_H
 #define SORTLIST_H
 
+entityclass(Sort)
 //.float(entity,entity) sort_cmp;
-.entity sort_next, sort_prev;
+class(Sort) .entity sort_next, sort_prev;
 
 entity Sort_Spawn();
 
@@ -19,4 +20,4 @@ entity Sort_Spawn();
        a.sort_prev = b;                                                                        \
        b.sort_next = a
 
-#endif
\ No newline at end of file
+#endif