From: havoc Date: Sun, 12 Apr 2009 09:17:30 +0000 (+0000) Subject: clarify float() traceline comments to say void() X-Git-Tag: xonotic-v0.1.0preview~1703 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4f0d7b844ddc8108b788c2fe5933729abb756084;p=xonotic%2Fdarkplaces.git clarify float() traceline comments to say void() git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8908 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/clvm_cmds.c b/clvm_cmds.c index bf8ae0a1..f527355c 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -241,7 +241,7 @@ void CL_VM_SetTraceGlobals(const trace_t *trace, int svent) #define CL_HitNetworkBrushModels(move) !((move) == MOVE_WORLDONLY) #define CL_HitNetworkPlayers(move) !((move) == MOVE_WORLDONLY || (move) == MOVE_NOMONSTERS) -// #16 float(vector v1, vector v2, float movetype, entity ignore) traceline +// #16 void(vector v1, vector v2, float movetype, entity ignore) traceline static void VM_CL_traceline (void) { float *v1, *v2; @@ -3108,7 +3108,7 @@ VM_vlen, // #12 float(vector v) vlen (QUAKE) VM_vectoyaw, // #13 float(vector v) vectoyaw (QUAKE) VM_CL_spawn, // #14 entity() spawn (QUAKE) VM_remove, // #15 void(entity e) remove (QUAKE) -VM_CL_traceline, // #16 float(vector v1, vector v2, float tryents, entity ignoreentity) traceline (QUAKE) +VM_CL_traceline, // #16 void(vector v1, vector v2, float tryents, entity ignoreentity) traceline (QUAKE) NULL, // #17 entity() checkclient (QUAKE) VM_find, // #18 entity(entity start, .string fld, string match) find (QUAKE) VM_precache_sound, // #19 void(string s) precache_sound (QUAKE) diff --git a/svvm_cmds.c b/svvm_cmds.c index 25ffe6ef..324082b5 100644 --- a/svvm_cmds.c +++ b/svvm_cmds.c @@ -3093,7 +3093,7 @@ VM_vlen, // #12 float(vector v) vlen (QUAKE) VM_vectoyaw, // #13 float(vector v) vectoyaw (QUAKE) VM_spawn, // #14 entity() spawn (QUAKE) VM_remove, // #15 void(entity e) remove (QUAKE) -VM_SV_traceline, // #16 float(vector v1, vector v2, float tryents) traceline (QUAKE) +VM_SV_traceline, // #16 void(vector v1, vector v2, float tryents) traceline (QUAKE) VM_SV_checkclient, // #17 entity() checkclient (QUAKE) VM_find, // #18 entity(entity start, .string fld, string match) find (QUAKE) VM_SV_precache_sound, // #19 void(string s) precache_sound (QUAKE)