mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
Fix array index in CanDamage() function - discovered by MARTY
The wrong array element was accessed. However the correct element is the same value so fixing it does not affect gameplay.
This commit is contained in:
parent
3bc3fa1b3b
commit
9b2df26024
1 changed files with 1 additions and 1 deletions
|
@ -1141,7 +1141,7 @@ qboolean CanDamage (gentity_t *targ, vec3_t origin) {
|
|||
|
||||
VectorCopy(midpoint, dest);
|
||||
dest[0] += offsetmins[0];
|
||||
dest[1] += offsetmins[2];
|
||||
dest[1] += offsetmins[1];
|
||||
dest[2] += offsetmins[2];
|
||||
trap_Trace(&tr, origin, vec3_origin, vec3_origin, dest, ENTITYNUM_NONE, MASK_SOLID);
|
||||
|
||||
|
|
Loading…
Reference in a new issue