projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c2de3f
)
Clear ALL the trace globals before calling the touch functions; it fixes #2253 "Casin...
689/head
author
terencehill <piuntn@gmail.com>
Fri, 16 Aug 2019 21:14:52 +0000
(23:14 +0200)
committer
terencehill <piuntn@gmail.com>
Fri, 16 Aug 2019 21:14:52 +0000
(23:14 +0200)
qcsrc/common/physics/movetypes/movetypes.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/physics/movetypes/movetypes.qc
b/qcsrc/common/physics/movetypes/movetypes.qc
index cbb54cd26e575c8cb6e67740b0b48fa2f02516bf..b3f460ce7d99daaf5f6c1dab28832cbca57a5ad8 100644
(file)
--- a/
qcsrc/common/physics/movetypes/movetypes.qc
+++ b/
qcsrc/common/physics/movetypes/movetypes.qc
@@
-348,6
+348,10
@@
void _Movetype_LinkEdict_TouchAreaGrid(entity this) // SV_LinkEdict_TouchAreaGr
trace_plane_normal = '0 0 1';
trace_plane_dist = 0;
trace_ent = this;
+ trace_dpstartcontents = 0;
+ trace_dphitcontents = 0;
+ trace_dphitq3surfaceflags = 0;
+ trace_dphittexturename = string_null;
gettouch(it)(it, this);
}