commit e1a3e9869d0386af565d788c60a6449a8b5b54f4 Author: /dev/humancontroller Date: Sun Aug 7 00:52:51 2011 +0200 defucktardization amendment diff --git a/src/game/g_mover.c b/src/game/g_mover.c index fa7e962..a3fcddc 100644 --- a/src/game/g_mover.c +++ b/src/game/g_mover.c @@ -1085,7 +1085,7 @@ void InitMover( gentity_t *ent ) ent->reached = Reached_BinaryMover; if( G_SpawnString( "team", "", &team ) ) - ent->team = team; + ent->team = G_CopyString( team ); ent->moverState = MOVER_POS1; ent->r.svFlags = SVF_USE_CURRENT_ORIGIN; @@ -1173,7 +1173,7 @@ void InitRotator( gentity_t *ent ) ent->reached = Reached_BinaryMover; if( G_SpawnString( "team", "", &team ) ) - ent->team = team; + ent->team = G_CopyString( team ); ent->moverState = ROTATOR_POS1; ent->r.svFlags = SVF_USE_CURRENT_ORIGIN;