]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
etof hack: we don't need this anymore
authorTimePath <andrew.hardaker1995@gmail.com>
Sun, 13 Dec 2015 00:31:54 +0000 (11:31 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Sun, 13 Dec 2015 00:31:54 +0000 (11:31 +1100)
qcsrc/lib/misc.qh

index 589783ae959f4b87ff63c96922c93568ecd6a8b6..cecb15a11eb647a0662412970805d2625d87f0a9 100644 (file)
        // already defined
 #endif
 
-// avoid bounds checks
-#undef etof
-#if 1
-       #define etof(e) ITOF(reinterpret_cast(int, e))
-#else
-       #define etof(e) stof(sprintf("%i", e))
-#endif
-
 #define GET(name) name##get
 #define GETTER(type, name) type GET(name)() { return name; }
 #define PROPERTY(type, name) type name; GETTER(type, name)