From f35a8629072ab012eab59da6fdaad1156012082b Mon Sep 17 00:00:00 2001 From: divverent Date: Thu, 19 Sep 2013 11:49:40 +0000 Subject: [PATCH] TEMPHACK_origin is no longer needed. Begone! git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12007 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=4cbebb927f4c6705d991608f61ed8e0f68d06f32 --- clvm_cmds.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/clvm_cmds.c b/clvm_cmds.c index d907fabc..20d71a30 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -1604,20 +1604,6 @@ static void VM_CL_getplayerkey (prvm_prog_t *prog) else if(!strcasecmp(c, "viewentity")) dpsnprintf(t, sizeof(t), "%i", i+1); - else - if(gamemode == GAME_XONOTIC && !strcasecmp(c, "TEMPHACK_origin")) - { - // PLEASE REMOVE THIS once deltalisten() of EXT_CSQC_1 - // is implemented, or Xonotic uses CSQC-networked - // players, whichever comes first - entity_t *e = cl.entities + (i+1); - if(e->state_current.active) - { - vec3_t origin; - Matrix4x4_OriginFromMatrix(&e->render.matrix, origin); - dpsnprintf(t, sizeof(t), VECTOR_LOSSLESS_FORMAT, origin[0], origin[1], origin[2]); - } - } if(!t[0]) return; PRVM_G_INT(OFS_RETURN) = PRVM_SetTempString(prog, t); -- 2.39.2