mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-29 07:12:20 +00:00
SERVER: Fix MOVE_NOMONSTERS missing reference
This commit is contained in:
parent
d156216f42
commit
879357e2a2
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ void() tesla_arc = {
|
||||||
// Check traceline to make sure is visible
|
// Check traceline to make sure is visible
|
||||||
vector trace_start = self.origin + tesla_arc_ofs_for_ent(self);
|
vector trace_start = self.origin + tesla_arc_ofs_for_ent(self);
|
||||||
vector trace_end = ent.origin + tesla_arc_ofs_for_ent(self);
|
vector trace_end = ent.origin + tesla_arc_ofs_for_ent(self);
|
||||||
traceline(trace_start, trace_end, MOVE_NOMONSTERS, world);
|
traceline(trace_start, trace_end, 1, world); // MOVE_NOMONSTERS=1
|
||||||
if(trace_fraction >= 1.0) {
|
if(trace_fraction >= 1.0) {
|
||||||
best_dist = dist;
|
best_dist = dist;
|
||||||
best_ent = ent;
|
best_ent = ent;
|
||||||
|
|
Loading…
Reference in a new issue