summaryrefslogtreecommitdiff
path: root/src/game/g_utils.c
diff options
context:
space:
mode:
authorJohn Ellis <johne@verizon.net>2010-07-31 02:37:48 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:40 +0000
commit412f7694cb5fb90483e63c0c77b17706a2124332 (patch)
tree0be8f48c13cbb4beaf35b359cbd7cb53f74150c4 /src/game/g_utils.c
parent3726768056c6ea51e67fd2d2c2389c0066a924b3 (diff)
* Fix teleporters so that they once again telefrag players (broken by r2020)
Diffstat (limited to 'src/game/g_utils.c')
-rw-r--r--src/game/g_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_utils.c b/src/game/g_utils.c
index e3e986d8..665cab3f 100644
--- a/src/game/g_utils.c
+++ b/src/game/g_utils.c
@@ -555,8 +555,8 @@ void G_KillBox( gentity_t *ent )
gentity_t *hit;
vec3_t mins, maxs;
- VectorAdd( ent->s.origin, ent->r.mins, mins );
- VectorAdd( ent->s.origin, ent->r.maxs, maxs );
+ VectorAdd( ent->r.currentOrigin, ent->r.mins, mins );
+ VectorAdd( ent->r.currentOrigin, ent->r.maxs, maxs );
num = trap_EntitiesInBox( mins, maxs, touch, MAX_GENTITIES );
for( i = 0; i < num; i++ )