]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/_all.qh
Merge branch 'terencehill/warmup_limit' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / _all.qh
index 6a78f5320860405d9de73aa018f83b9bd3dffe46..c43605435e389cb13d1cbfb893d6fac48b43dcc7 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef SERVER_ALL_H
-#define SERVER_ALL_H
+#pragma once
 
 int maxclients;
 
@@ -34,7 +33,7 @@ const string STR_OBSERVER = "observer";
                for(int _i = 1; _i <= maxclients; ++_i) \
                { \
                        const noref int i = _i; \
-                       const noref entity it = ftoe(i); \
+                       ITER_CONST noref entity it = ftoe(i); \
                        if(cond) { LAMBDA(body) } \
                } \
        } MACRO_END
@@ -51,5 +50,3 @@ const string STR_OBSERVER = "observer";
 #include "constants.qh"
 #include "defs.qh"
 #include "miscfunctions.qh"
-
-#endif