mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix items in walls in hipnotic
This commit is contained in:
parent
680bc22697
commit
ecaa002774
1 changed files with 11 additions and 0 deletions
|
@ -122,6 +122,17 @@ MOD_TraceLine (hull_t *hull, int num,
|
|||
trace->inwater = true;
|
||||
} else if (!empty && num == CONTENTS_SOLID) {
|
||||
solid = 1;
|
||||
} else if (solid && num != CONTENTS_SOLID) {
|
||||
//FIXME not sure what I want
|
||||
//made it out of the solid and into open space, continue
|
||||
//on as if we were always in empty space
|
||||
empty = 1;
|
||||
solid = 0;
|
||||
trace->startsolid = 1;
|
||||
if (num == CONTENTS_EMPTY)
|
||||
trace->inopen = true;
|
||||
else
|
||||
trace->inwater = true;
|
||||
} else if (empty/* || solid*/) {//FIXME not sure what I want
|
||||
// DONE!
|
||||
trace->allsolid = solid & (num == CONTENTS_SOLID);
|
||||
|
|
Loading…
Reference in a new issue