Merge pull request #723 from joshuarwood/visiblelos_edge_case

Reset hit prop to continue los test following a glass surface
This commit is contained in:
fgsfds authored and GitHub committed 2026-05-21 17:55:20 +02:00
commit 132e59d3ec
1 file changed
+1
+1
View File
@@ -1078,6 +1078,7 @@ bool shotTestLos(struct coord *gunpos2d, struct coord *gundir2d, struct coord *g
surfacetype != SURFACETYPE_GLASS && surfacetype != SURFACETYPE_GLASSXLU) {
return false;
}
shotdata.hits[0].prop = NULL;
}
}
propptr--;