From: divverent Date: Thu, 19 Sep 2013 11:49:40 +0000 (+0000) Subject: TEMPHACK_origin is no longer needed. Begone! X-Git-Tag: xonotic-v0.8.0~96^2~33 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4cbebb927f4c6705d991608f61ed8e0f68d06f32;p=xonotic%2Fdarkplaces.git TEMPHACK_origin is no longer needed. Begone! git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12007 d7cf8633-e32d-0410-b094-e92efae38249 --- 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);