forked from Ports/perfect_dark
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:
1 file changed
+1
@@ -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--;
|
||||
|
||||
Reference in new issue
Block a user