Use GetSpawnOrigin() instead of peeking
This commit is contained in:
parent
67bc6e1e26
commit
3c1aad1559
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ CTSPowerUp::CustomInit(void)
|
|||
//takedamage = DAMAGE_NO;
|
||||
|
||||
// start at where I spawned, already recorded by CBaseEntity for us.
|
||||
origin = m_oldOrigin;
|
||||
origin = GetSpawnOrigin();
|
||||
|
||||
// Tone the gravity down to see them fall better / prove their positions are reset on spawn.
|
||||
//this.gravity = 0.006;
|
||||
|
|
Loading…
Reference in a new issue