reset hit prop to continue los test following a glass surface

This commit is contained in:
joshuarwood committed 2026-05-20 22:31:58 -05:00
1 parent 20fc4c6cc7
commit c166cf0f15
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) { surfacetype != SURFACETYPE_GLASS && surfacetype != SURFACETYPE_GLASSXLU) {
return false; return false;
} }
shotdata.hits[0].prop = NULL;
} }
} }
propptr--; propptr--;