X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fwarpzonelib%2Fcommon.qc;h=e76bc0eb96761c5efa52f02a07400b51fa28cdaa;hb=ee1b8d51f50d3f8c6948e81441ac03ae0f52781d;hp=bc23cd11ba117713b6ccc9c99ba36e0d6d68626a;hpb=fe8c7510919a64ff76afde8eb94bbb29bf293c3b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/warpzonelib/common.qc b/qcsrc/warpzonelib/common.qc index bc23cd11b..e76bc0eb9 100644 --- a/qcsrc/warpzonelib/common.qc +++ b/qcsrc/warpzonelib/common.qc @@ -1,5 +1,5 @@ float trace_dphitcontents; -.float dphitcontents; +.float dphitcontentsmask; void WarpZone_Accumulator_Clear(entity acc) { @@ -411,8 +411,6 @@ void WarpZone_TraceToss(entity e, entity forent) entity WarpZone_TrailParticles_trace_callback_own; float WarpZone_TrailParticles_trace_callback_eff; -float WarpZone_TrailParticles_trace_callback_f; -float WarpZone_TrailParticles_trace_callback_flags; void WarpZone_TrailParticles_trace_callback(vector from, vector endpos, vector to) { trailparticles(WarpZone_TrailParticles_trace_callback_own, WarpZone_TrailParticles_trace_callback_eff, from, endpos); @@ -426,6 +424,8 @@ void WarpZone_TrailParticles(entity own, float eff, vector org, vector end) } #ifdef CSQC +float WarpZone_TrailParticles_trace_callback_f; +float WarpZone_TrailParticles_trace_callback_flags; void WarpZone_TrailParticles_WithMultiplier_trace_callback(vector from, vector endpos, vector to) { boxparticles(WarpZone_TrailParticles_trace_callback_eff, WarpZone_TrailParticles_trace_callback_own, from, endpos, WarpZone_TrailParticles_trace_callback_own.velocity, WarpZone_TrailParticles_trace_callback_own.velocity, WarpZone_TrailParticles_trace_callback_f, WarpZone_TrailParticles_trace_callback_flags);