From cb52e5bd8da01ab2e7976fcd8bfc34e190265ed5 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 16 Mar 2008 22:36:04 +0000 Subject: r_drawradius --- src/render/render.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/render/render.cc') diff --git a/src/render/render.cc b/src/render/render.cc index 76f2373..b5afdf0 100644 --- a/src/render/render.cc +++ b/src/render/render.cc @@ -13,6 +13,8 @@ namespace render { GLuint textures[32]; +core::Cvar *r_drawradius = 0; + void init() { con_print << "Initializing renderer..." << std::endl; @@ -32,7 +34,7 @@ void init() core::application()->shutdown(); } - + r_drawradius = core::Cvar::get("r_drawradius", "0", core::Cvar::Archive); } void shutdown() -- cgit v1.2.3