From: TimePath Date: Sun, 13 Dec 2015 00:31:54 +0000 (+1100) Subject: etof hack: we don't need this anymore X-Git-Tag: xonotic-v0.8.2~1497 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b573e4a084ec8fac13c3d434724cf8dfba3457b1;p=xonotic%2Fxonotic-data.pk3dir.git etof hack: we don't need this anymore --- diff --git a/qcsrc/lib/misc.qh b/qcsrc/lib/misc.qh index 589783ae9..cecb15a11 100644 --- a/qcsrc/lib/misc.qh +++ b/qcsrc/lib/misc.qh @@ -33,14 +33,6 @@ // 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)