mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
reset hit prop to continue los test following a glass surface
This commit is contained in:
1 parent
20fc4c6cc7
commit
c166cf0f15
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