diff options
Diffstat (limited to 'src/game/g_utils.c')
-rw-r--r-- | src/game/g_utils.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/g_utils.c b/src/game/g_utils.c index 8105af8b..8c013a1a 100644 --- a/src/game/g_utils.c +++ b/src/game/g_utils.c @@ -632,7 +632,8 @@ G_SetOrigin Sets the pos trajectory for a fixed position ================ */ -void G_SetOrigin( gentity_t *ent, vec3_t origin ) { +void G_SetOrigin( gentity_t *ent, vec3_t origin ) +{ VectorCopy( origin, ent->s.pos.trBase ); ent->s.pos.trType = TR_STATIONARY; ent->s.pos.trTime = 0; @@ -640,7 +641,7 @@ void G_SetOrigin( gentity_t *ent, vec3_t origin ) { VectorClear( ent->s.pos.trDelta ); VectorCopy( origin, ent->r.currentOrigin ); - VectorCopy( origin, ent->s.origin ); //TA: it shit breaks - blame this line + VectorCopy( origin, ent->s.origin ); //TA: if shit breaks - blame this line } //TA: from quakestyle.telefragged.com |