mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
disable xlu surface hits with a global to avoid initialization errors with struct flag
This commit is contained in:
1 parent
550f1d3182
commit
f5cbfe6692
3 files changed
+11
-7
No files matched your search
@@ -993,9 +993,6 @@ bool shotTestLos(struct coord *gunpos2d, struct coord *gundir2d, struct coord *g
|
||||
RoomNum *roomsptr;
|
||||
struct prop *prop;
|
||||
|
||||
// ignore transparent surfaces
|
||||
hitthing.ignore_xlu = 1;
|
||||
|
||||
shotdata.gunpos3d.x = gunpos3d->x;
|
||||
shotdata.gunpos3d.y = gunpos3d->y;
|
||||
shotdata.gunpos3d.z = gunpos3d->z;
|
||||
|
||||
Reference in new issue
Block a user