Skip to content

Commit 629fe97

Browse files
committed
fix: locator goes through glass
1 parent 550cf0a commit 629fe97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Features/Demo/GhostRenderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ CON_COMMAND(ghost_locator, "ghost_locator - Sends a coop-like ping to other ghos
175175
}
176176

177177
CGameTrace tr;
178-
if (engine->TraceFromCamera<false>(8192.0f, MASK_SHOT_PORTAL, tr)) {
178+
if (engine->TraceFromCamera<false>(8192.0f, MASK_VISIBLE, tr)) {
179179
client->ShowLocator(tr.endpos, tr.plane.normal, GhostEntity::set_color);
180180
networkManager.NotifyLocator(tr.endpos, tr.plane.normal);
181181
}

0 commit comments

Comments
 (0)