SERVER: Fix MOVE_NOMONSTERS missing reference

This commit is contained in:
blubs 2023-09-02 23:52:33 -07:00
parent d156216f42
commit 879357e2a2

View file

@ -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;