]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/file.qh
Optimize vehicle impact code by only calling vlen() if damage would be taken
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / file.qh
index 87d1460250a1c007b5ebe0c23103208093fbc8cf..5bc24f627185f5fd5c4bf87aaaf32a40f0908ff8 100644 (file)
@@ -1,6 +1,6 @@
-#ifndef FILE_H
-#define FILE_H
+#pragma once
 
+ERASEABLE
 bool fexists(string f)
 {
        int fh = fopen(f, FILE_READ);
@@ -8,5 +8,3 @@ bool fexists(string f)
        fclose(fh);
        return true;
 }
-
-#endif