mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
8175bdc56a
Changes: * Integrate with "quake2-data". * Add OPTIONS (21). * Clean-up (sort knobs alphabetically, etc.). * Automatically extract Rogue and Xatrix mission packs. * Remove ARCH from library names (gamei386.so -> game.so). Also increases portability (the library name was manually defined between #ifdefs checking the architecture, and a #error at the end). * Change patch names (using "_" instead of "::"), and also some patches. PR: ports/87181 Submitted by: Alejandro Pulver <alejandro@varnet.biz> Approved by: maintainer timeout
18 lines
436 B
C
18 lines
436 B
C
--- src/game/g_phys.c.orig Tue Mar 15 22:15:11 2005
|
|
+++ src/game/g_phys.c Tue Mar 15 22:16:41 2005
|
|
@@ -356,7 +356,13 @@
|
|
mask = MASK_SOLID;
|
|
|
|
trace = gi.trace (start, ent->mins, ent->maxs, end, ent, mask);
|
|
-
|
|
+
|
|
+ if (trace.startsolid || trace.allsolid)
|
|
+ {
|
|
+ mask ^= CONTENTS_DEADMONSTER;
|
|
+ trace = gi.trace (start, ent->mins, ent->maxs, end, ent, mask);
|
|
+ }
|
|
+
|
|
VectorCopy (trace.endpos, ent->s.origin);
|
|
gi.linkentity (ent);
|
|
|