X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=clvm_cmds.c;h=6e35193ae39de8937a208a2a8e0b2906129999a4;hp=03f3fe911b626e10c727dcaecd21697307a501b1;hb=c0b28902ae728d6089484e8f205aa118cd5b525b;hpb=440894b67050bb1db5aa0a78b8a35a06944c6b7f diff --git a/clvm_cmds.c b/clvm_cmds.c index 03f3fe91..6e35193a 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -351,8 +351,6 @@ int CSQC_EntitiesInBox (vec3_t mins, vec3_t maxs, int maxlist, prvm_edict_t **li { if (ent->priv.required->free) continue; -// VectorAdd(ent->fields.client->origin, ent->fields.client->mins, ent->fields.client->absmin); -// VectorAdd(ent->fields.client->origin, ent->fields.client->maxs, ent->fields.client->absmax); if(BoxesOverlap(mins, maxs, ent->fields.client->absmin, ent->fields.client->absmax)) list[k++] = ent; } @@ -644,8 +642,6 @@ static void VM_CL_R_AddEntities (void) ed = &prog->edicts[i]; if(ed->priv.required->free) continue; - VectorAdd(ed->fields.client->origin, ed->fields.client->mins, ed->fields.client->absmin); - VectorAdd(ed->fields.client->origin, ed->fields.client->maxs, ed->fields.client->absmax); CSQC_Think(ed); if(ed->priv.required->free) continue; @@ -3140,7 +3136,7 @@ VM_tan, // #475 float(float a) VM_tan (DP_QC_ASINACOSATANATAN2TAN) VM_strlennocol, // #476 float(string s) : DRESK - String Length (not counting color codes) (DP_QC_STRINGCOLORFUNCTIONS) VM_strdecolorize, // #477 string(string s) : DRESK - Decolorized String (DP_QC_STRINGCOLORFUNCTIONS) VM_strftime, // #478 string(float uselocaltime, string format, ...) (DP_QC_STRFTIME) -NULL, // #479 +VM_tokenizebyseparator, // #479 float(string s) tokenizebyseparator (DP_QC_TOKENIZEBYSEPARATOR) NULL, // #480 NULL, // #481 NULL, // #482