From: Mario Date: Thu, 1 Jun 2017 16:46:31 +0000 (+1000) Subject: Remove an unused function X-Git-Tag: xonotic-v0.8.5~2744 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=469a365f2f8daf50bed705b7ebb620f85b79762c;p=xonotic%2Fxonotic-data.pk3dir.git Remove an unused function --- diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc index 31edbc3f0..ef82cc3d6 100644 --- a/qcsrc/server/race.qc +++ b/qcsrc/server/race.qc @@ -548,30 +548,6 @@ void race_ClearTime(entity e) }); } -void dumpsurface(entity e) -{ - float n, si, ni; - vector norm, vec; - LOG_INFO("Surfaces of ", etos(e), ":\n"); - - LOG_INFO("TEST = ", ftos(getsurfacenearpoint(e, '0 0 0')), "\n"); - - for(si = 0; ; ++si) - { - n = getsurfacenumpoints(e, si); - if(n <= 0) - break; - LOG_INFO(" Surface ", ftos(si), ":\n"); - norm = getsurfacenormal(e, si); - LOG_INFO(" Normal = ", vtos(norm), "\n"); - for(ni = 0; ni < n; ++ni) - { - vec = getsurfacepoint(e, si, ni); - LOG_INFO(" Point ", ftos(ni), " = ", vtos(vec), " (", ftos(norm * vec), ")\n"); - } - } -} - void checkpoint_passed(entity this, entity player) { if(player.personal && autocvar_g_allow_checkpoints)